Simulink Control Design™ - MathWorks

(Tuis.) #1
Linearization information returned by exact linearization commands, specified as a
structure. This structure has an Offsets field that contains an N 1 -by-...-by-Nm array of
structures, where N 1 to Nm are the dimensions of the operating point array or parameter
grid used for linearization. Each structure in info.Offsets contains offset information
that corresponds to a specific operating point.

You can store and obtain linearization offsets when you linearize your model using one of
the following commands:


  • linearize

  • getIOTransfer

  • getLoopTransfer

  • getSensitivity

  • getCompSensitivity


For example:

opt = linearizeOptions('StoreOffsets',true);
[sys,op,info] = linearize(mdl,io,params,opt);

You can then extract the offset information using getOffsetsForLPV.

offsets = getOffsetsForLPV(info);

Output Arguments


offsets — Linearization offsets
structure

Linearization offsets corresponding to the operating points at which the model was
linearized, returned as a structure with the following fields:

Field Description
x State offsets used for linearization, returned as an nx-by-1-by-N 1 -by-...-by-
Nm array, where nx is the number of states in the linearized system.
y Output offsets used for linearization, returned as an ny-by-1-by-N 1 -by-...-by-
Nm array, where ny is the number of outputs in the linearized system.

15 Alphabetical List

Free download pdf