This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


System object: dsp.SpectrumAnalyzer
Package: dsp

Reset internal states of Spectrum Analyzer object




reset(H) sets the internal states of the SpectrumAnalyzer object H to their initial values.

You should call the reset method after calling the step method when you want to clear the Spectrum Analyzer 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.

Was this topic helpful?