This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Timed-Based Linearization

Generate linear models in base workspace at specific times

  • Library:
  • Simulink / Model-Wide Utilities


This block calls linmod or dlinmod to create a linear model for the system when the simulation clock reaches the time specified by the Linearization time parameter. No trimming is performed. The linear model is stored in the base workspace as a structure, along with information about the operating point at which the snapshot was taken. Multiple snapshots are appended to form an array of structures.

The block sets the following model parameters to the indicated values:

  • BufferReuse = 'off'

  • RTWInlineParameters = 'on'

  • BlockReductionOpt = 'off'

The name of the structure used to save the snapshots is the name of the model appended by _Timed_Based_Linearization, for example, vdp_Timed_Based_Linearization. The structure has the following fields:



The A matrix of the linearization


The B matrix of the linearization


The C matrix of the linearization


The D matrix of the linearization


Names of the model's states


Names of the model's output ports


Names of the model's input ports


A structure that specifies the operating point of the linearization. The structure specifies the operating point time (OperPoint.t). The states (OperPoint.x) and inputs (OperPoint.u) fields are not used.


The sample time of the linearization for a discrete linearization


To generate models conditionally, use the Trigger-Based Linearization block.


expand all

Time at which you want the block to generate a linear model. Enter a vector of times if you want the block to generate linear models at more than one time step.

Programmatic Use

Block Parameter: LinearizationTime
Type: character vector
Values: scalar | vector
Default: '1'

Specify a sample time to create discrete-time linearizations of the model (see Discrete-Time System Linearization).

Programmatic Use

Block Parameter: SampleTime
Type: character vector
Values: scalar | vector
Default: '0'

Block Characteristics

Data Types

Direct Feedthrough


Multidimensional Signals


Variable-Size Signals


Zero-Crossing Detection


Introduced in R2010a