Simulink Control Design™ - MathWorks

(Tuis.) #1
[lin_fixed,lin_blocks] = linlft( ___ ) returns the linearizations for each of the
blocks specified in blocks. If blocks contains a single block path, lin_blocks is a
single state-space (ss) model. If blocks is an array identifying multiple blocks,
lin_blocks is a cell array of state-space models. The full block path for each block in
lin_blocks is stored in the Notes property of the state-space model.

[ ___ ] = linlft( ___ ,opt) uses additional linearization options, specified as a
linearizeOptions option set.

Examples


Linearize the following parts of the scdtopmdl Simulink model separately, and then
combine the results:


  • Fixed portion, which contains everything except the Parameter Varying Controller
    model reference

  • 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);

15 Alphabetical List

Free download pdf