Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Control Design   

linlftfold - Combine linearization results from specified blocks and a model

Syntax

lin = linlftfold(lin_fixed,blocksubs)

Description

lin = linlftfold(lin_fixed,blocksubs) combines the following linearization results into one linear model lin:

Examples

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

% 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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS