| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink Control Design |
| Contents | Index |
| Learn more about Simulink Control Design |
lin_fixed = linlft('sys',io,blocks)
lin_fixed = linlft('sys',io,blocks) linearizes the Simulink model named sys while removing the contribution of certain blocks. Specify the full block pathnames of the blocks to ignore in the cell array of strings called blocks. The linearization occurs at the operating point specified in the Simulink model, which includes the ignored blocks. You can optionally specify linearization points in the I/O object io. The resulting linear model lin_fixed has this form:

The top channels In and Out correspond to the linearization points you specify in the I/O object io. The remaining channels correspond to the connection to the ignored blocks.
When you use linlft and specify the 'block-by-block' linearization algorithm in linoptions, you can use all the variations of the input arguments for linearize.
You can linearize the ignored blocks separately using linearize, and then combine the linearization results using linlftfold.
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);
% Combine the results
BlockSubs(1) = struct('Name',blocks{1},'Value',sys_pv);
sys_fold = linlftfold(sys_fixed,BlockSubs);
getlinio | linearize | linio | linlftfold | operpoint
![]() | linearize | linlftfold | ![]() |

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 |