Reset System object states
resetImpl(obj)
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 reset
method only if
the object is in use. The object remains as "in-use" after it is reset. resetImpl
is
also called by the setup
method, after the setupImpl
method. See Summary of Call Sequence.
You must set Access = protected
for this method.
You cannot modify any tunable properties in this method if its System object will be used in the Simulink® MATLAB System block.
|
System object |