Skip to Main Content Skip to Search
Product Documentation

Speeding Up Linearization of Complex Models

Factors That Impact Linearization Performance

Large Simulink models and blocks with complex initialization functions can slow linearization.

In most cases, the time it takes to linearize a model is directly related to the time it takes to update the block diagram.

Blocks with Complex Initialization Functions

Use the MATLAB Profiler to identify complex bottlenecks in block initialization functions.

In the MATLAB Profiler, run the command:

set_param(modelname,'SimulationCommand','update')

Disabling the Linearization Inspector in the Linear Analysis Tool

You can speed up the linearization of large models by disabling the Linearization Diagnostics Viewer in the Linear Analysis Tool.

The Linearization Diagnostic Viewer stores and tracks linearization values of individual blocks, which can impact linearization performance.

In the Linear Analysis Tool, in the Exact Linearization tab, clear the Launch Diagnostic Viewer check box.

Batch Linearization of Large Simulink Models

When batch linearizing a large model that contains only a few varying parameters, you can use linlftfold to reduce the computational load.

See Computing Multiple Linearizations of Models with Block Variations More Efficiently.

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS