Package: sdo
Initial state for estimation from Simulink model
s = sdo.getStateFromModel(modelname,blockpath)
s = sdo.getStateFromModel(modelname)
creates
a state parameter object for the state of a specified block in a Simulink® model.
Use the state object to either specify the initial-state value in
an experiment or estimate it.s
= sdo.getStateFromModel(modelname
,blockpath
)
creates
state parameter objects for all the states in the model.s
= sdo.getStateFromModel(modelname
)
|
Simulink model name, specified as a character vector or
string. For example, The model must be open. |
|
Block path of the block containing the required state, specified
as a character vector or string. For example, To specify multiple blocks, use a cell array of character vectors or a string array. |
|
Model state, returned as a
When you use the syntax If |