Substitute linearizations for blocks and model subsystems, specified as a structure or an
n-by-1 structure array, where n is the number of blocks for which you want to specify a
linearization. Use blocksub to specify a custom linearization for a block or subsystem.
For example, you can specify linearizations for blocks that do not have analytic
linearizations, such as blocks with discontinuities or triggered subsystems.
You can batch linearize your model by specifying multiple substitute linearizations for a
block. Use this functionality, for example, to study the effects of varying the linearization
of a Saturation block on the model dynamics.
Each substitute linearization structure has the following fields:
Name — Block path
Block path of the block for which you want to specify the linearization, specified as a
character vector.
Value — Substitute linearization
Substitute linearization for the block, specified as one of the following:
- Double — Specify the linearization of a SISO block as a gain.
- Array of doubles — Specify the linearization of a MIMO block as an nu-by-ny array of
gain values, where nu is the number of inputs and ny is the number of outputs. - LTI model, uncertain state-space model, or uncertain real object — The I/O
configuration of the specified model must match the configuration of the block
specified by Name. Using an uncertain model requires Robust Control Toolbox
software. - Array of LTI models, uncertain state-space models, or uncertain real objects — Batch
linearize the model using multiple block substitutions. The I/O configuration of each
model in the array must match the configuration of the block for which you are
specifying a custom linearization. If you:- Vary model parameters using param and specify Value as a model array, the
dimensions of Value must match the parameter grid size. - Define block substitutions for multiple blocks, and specify Value as an array of LTI
models for more than one block, the dimensions of the arrays must match.
- Vary model parameters using param and specify Value as a model array, the
- Structure with the following fields:
slTuner