www.gusucode.com > slcontrol 案例源码程序 matlab代码 > slcontrol/GetParameterizationsOfMultipleTunedBlocksExample.m

    %% Get Parameterizations of Multiple Tuned blocks
%%
% Create an |slTuner| interface for the |scdhelicopter| model.

% Copyright 2015 The MathWorks, Inc.

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

%%
% Retrieve the parameterizations for the PI controllers in the model.
[parPI1,parPI2,parPI3] = getBlockParam(st,'PI1','PI2','PI3');