Simulink Control Design™ - MathWorks

(Tuis.) #1
open_system('scdcascade');
st = slTuner('scdcascade',{'C1','C2'});

Examine the block parameterization of one of the tuned blocks.

blk_param = getBlockParam(st,'C1')

blk_param =

Parametric continuous-time PID controller "C1" with formula:

1
Kp + Ki * ---
s

and tunable parameters Kp, Ki.

Type "pid(blk_param)" to see the current value and "get(blk_param)" to see all properties.

The block C1 is a PID Controller block. Therefore, its parameterization in st is a
tunablePID Control Design Block.

Get Parameterizations of Multiple Tuned blocks

Create an slTuner interface for the scdhelicopter model.

15 Alphabetical List

Free download pdf