Simulink Control Design™ - MathWorks

(Tuis.) #1

  • Parameter Varying Controller model reference, which references the scdrefmdl
    model


% Open the Simulink model
topmdl = 'scdtopmdl';


% Linearize the model without the Parameter Varying Controller
io = getlinio(topmdl);
blocks = {'scdtopmdl/Parameter Varying Controller'};
sys_fixed = linlft(topmdl,io,blocks);


% Linearize the Parameter Varying Controller
refmdl = 'scdrefmdl';
sys_pv = linearize(refmdl);


% Combine the results
BlockSubs(1) = struct('Name',blocks{1},'Value',sys_pv);
sys_fold = linlftfold(sys_fixed,BlockSubs);


See Also


getlinio | linearize | linio | linlft | operpoint


Introduced in R2009b


linlftfold
Free download pdf