Simulink Control Design™ - MathWorks

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

Examine the current parameterization value of one of the tuned blocks.

val = getBlockValue(st,'C1')

val =

1
Kp + Ki * ---
s

with Kp = 0.158, Ki = 0.042

Name: C1
Continuous-time PI controller in parallel form.

Get Current Values of Multiple Tuned Block Parameterizations

Create an slTuner interface for the scdhelicopter model.

open_system('scdhelicopter')
st = slTuner('scdhelicopter',{'PI1','PI2','PI3','SOF'});

15 Alphabetical List

Free download pdf