reset(H)
reset(H)
sets the
internal states of the scope object H
to
their initial values.
You should call the reset
method after calling
the step
method when you want to clear the scope
figure displays, prior to releasing system resources. This action
enables you to start a simulation from the beginning. When you call
the reset
method, the displays will become blank
again. In this sense, its functionality is similar to that of the MATLAB® clf
function. Do not call the reset
method
after calling the release
method.
In operation, the reset
method is similar to
a consecutive execution of the mdlTerminate
function
and the mdlInitializeConditions
function.