open_system('scdcascade');
st = slTuner('scdcascade',{'C1','C2'});
Both C1 and C2 are PI controllers. Examine the default parameterization of C1.
getBlockParam(st,'C1')
ans =
Parametric continuous-time PID controller "C1" with formula:
1
Kp + Ki * ---
s
and tunable parameters Kp, Ki.
Type "pid(ans)" to see the current value and "get(ans)" to see all properties.
The default parameterization is a PI controller with two tunable parameters, Kp and Ki.
Set the value of the parameterization of C1.
C = pid(4.2);
setBlockValue(st,'C1',C);
Examine the value of the parameterization of C1.
setBlockValue