param.State class
Package: param
Superclasses: param.Continuous
Specify tuning parameters for model states
Description
A state parameter is a numeric parameter, representing a state associated with a model, that can take any value in a specified interval. The parameter can take scalar or matrix values.
You use state parameters to estimate or specify the initial state values of a model.
Construction
You obtain a state parameter using the sdo.getStateFromModel
function.
For example, use
s = sdo.getStateFromModel('sdoMassSpringDamper','Position');
to obtain the state parameter of the Position
block of the
sdoMassSpringDamper
Simulink® model.
Properties
|
Flag specifying whether the state parameter is tunable or not. Set the The dimension of this property must match the dimension of the
For matrix-valued state parameters, you can:
Default: |
|
Structure array specifying state parameter units and labels. The structure has The array dimension must match the dimension of the
Use this property to store state parameter units and labels. For example,
Default: |
|
Upper bound for the state parameter value. The dimension of this property must match the dimension of the
For matrix-valued state parameters, you can:
Default: |
|
Lower bound for the state parameter value. The dimension of this property must match the dimension of the
For matrix-valued state parameters, you can:
Default: |
|
State parameter name. This read-only property is set at object construction. Default: |
|
Scaling factor used to normalize the state parameter value. The dimension of this property must match the dimension of the
For matrix-valued state parameters, you can:
Default: |
|
State parameter value. You can specify the value as either a scalar or a matrix. The dimension of this property is set at object construction. Default: |
|
Flag specifying whether the state parameter derivative (with respect to time) is tunable or not. Set the The dimension of this property must match the dimension of the
For matrix-valued state parameter derivatives, you can:
Default: |
|
State parameter derivative (with respect to time) value. The dimension of this property must match the dimension of the
Default: |
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.