Interface for batch linearization of Simulink models
creates an sllin
= slLinearizer(mdl
)slLinearizer
interface,
sllin
, for linearizing the Simulink® model, mdl
. The interface adds the linear
analysis points marked in the model as analysis points of sllin
. The interface also
adds the linear analysis points that imply an opening as permanent
openings.
specifies substitute linearizations of blocks and subsystems. Use this syntax,
for example, to specify a custom linearization for a block. You can also use
this syntax for blocks that do not linearize successfully, such as blocks with
discontinuities or triggered subsystems.sllin
= slLinearizer(mdl
,blocksub
)
uses any combination of the input arguments sllin
= slLinearizer(mdl
,pt
,op
,param
,blocksub
,options
)pt
,
op
, param
,
blocksub
, and options
to create
sllin
.
For example, use any of the following:
sllin = slLinearizer(mdl,pt,param)
sllin = slLinearizer(mdl,op,param)
.
If you do not specify pt
, the interface adds the linear
analysis points marked in the model as analysis points. The interface also adds
linear analysis points that imply an opening as permanent openings.
slLinearizer
provides an interface between a Simulink model and the linearization commands getIOTransfer
, getLoopTransfer
, getSensitivity
, and getCompSensitivity
. Use slLinearizer
to efficiently
batch linearize a model. You can configure the slLinearizer
interface to linearize a model at a range of operating points and specify variations for
model parameter values. Use interface analysis
points and permanent openings to obtain
linearizations for any open-loop or closed-loop transfer function from a model. Analyze
the stability, or time-domain or frequency-domain characteristics of the linearized
models.
If you changed any interface properties since the last linearization, commands that
extract linearizations from the slLinearizer
interface recompile
the Simulink model. If you made calls to specific functions since the last
linearization, the commands also recompile the Simulink model. These functions include addPoint
,
addOpening
, removePoint
,
removeOpening
, removeAllPoints
, and
removeAllOpenings
.
slLinearizer
object properties include:
|
Parameter samples for linearizing Set this property using the
If |
|
Operating points for linearizing Set this property using the
If you configure
|
|
Substitute linearizations for blocks and model subsystems, specified as a structure or structure array. Use this property to specify a custom linearization for a block or subsystem. You also can use this syntax for blocks that do not have analytic linearizations, such as blocks with discontinuities or triggered subsystems. Set this property using the |
|
Linearization algorithm options, specified as an option set created using
Set this property using the |
|
Name of the Simulink model to be linearized, specified as a character vector by the
input argument |
|
Unit of the time variable. This property specifies the time units for
linearized models returned by
Default: |
addPoint | Add signal to list of analysis points for slLinearizer or slTuner interface |
addOpening | Add signal to list of openings for slLinearizer or slTuner interface |
addPoint | Add signal to list of analysis points for slLinearizer or slTuner interface |
getPoints | Get list of analysis points for slLinearizer or slTuner interface |
getOpenings | Get list of openings for slLinearizer or slTuner interface |
getIOTransfer | Transfer function for specified I/O set using slLinearizer or slTuner interface |
getLoopTransfer | Open-loop transfer function at specified point using slLinearizer or slTuner interface |
getSensitivity | Sensitivity function at specified point using slLinearizer or slTuner interface |
getCompSensitivity | Complementary sensitivity function at specified point
using slLinearizer or slTuner interface |
removePoint | Remove point from list of analysis points in slLinearizer or slTuner interface |
removeAllPoints | Remove all points from list of analysis points in slLinearizer or slTuner interface |
removeAllOpenings | Remove all openings from list of permanent openings in
slLinearizer or slTuner interface |
refresh | Resynchronize slLinearizer or slTuner interface
with current model state |
addOpening
| addPoint
| getCompSensitivity
| getIOTransfer
| getLoopTransfer
| getSensitivity
| linearize