sdo.getStateFromModel
Package: sdo
Initial state for estimation from Simulink model
Syntax
s = sdo.getStateFromModel(modelname,blockpath)
s = sdo.getStateFromModel(modelname)
Description
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
)
Input Arguments
|
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. |
Output Arguments
|
Model state, returned as a
When you use the syntax If |
Examples
Version History
Introduced in R2011b