resetImpl(obj) defines the state reset equations for the System object™. Typically you reset the states to a set of initial values.
resetImpl is called by the reset method. It is also called by the setup method, after the setupImpl method.
Note: 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.