resetImpl(obj) specifies the algorithm
that initializes or resets the states of a System object™. Typically
you reset the states to a set of initial values, which is useful for
initialization at the start of simulation.
resetImpl is called by the
only if the object is locked. The object remains locked after it is
resetImpl is also called by the
You must set
You cannot modify any tunable properties in this method if its System object will be used in the Simulink® MATLAB System block.
reset method to reset
the state of the counter stored in the
methods (Access = protected) function resetImpl(obj) obj.Count = 0; end end