This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 (Simulink).

Blocks with Complex Initialization Functions

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

In the MATLAB Profiler, run the command:


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 Linear Analysis tab, uncheck Diagnostic Viewer.

    Tip:   Alternatively, you can disable the Linearization Diagnostic Viewer globally in the Simulink Control Design™ tab of the MATLAB preferences dialog box. Clear the Launch diagnostic viewer for exact linearizations in the linear analysis tool check box. This global preference persists from session to session until you change this preference.

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 More Efficient Batch Linearization Varying Parameters.

Was this topic helpful?