getDiscreteState
Get the discrete states of a System object
Description
returns
a struct discreteStates= getDiscreteState(obj)discreteStates of internal state value properties, which have
the DiscreteState attribute. The field names of the struct are the
object’s DiscreteState property names. You can restrict or change the
values returned by getDiscreteState method by overwriting the getDiscreteStateImpl method.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012b