Discrete state property values
s = getDiscreteStateImpl(obj)
s = getDiscreteStateImpl(obj) returns a
s of internal state value properties, which
DiscreteState attribute. The field names
of the struct are the object's
names. To restrict or change the values returned by
you can override this
getDiscreteStatesImpl is called by the
which is called by the
You must set
You cannot modify any properties in this method.
System object™ handle
State values, returned as a struct
in your class definition file to get the discrete states of the object.
methods (Access = protected) function s = getDiscreteStateImpl(obj) end end