System object: dsp.SpectrumAnalyzer
Allow property value and input characteristics changes
release(H) releases system resources, such as memory, file handles, and hardware connections. This method lets you change any properties or input characteristics.
You should call the release method after calling the step method when there is no new data for the simulation. When you call the release method, the axes will automatically scale in the Spectrum Analyzer figure window. After calling the release method, any nontunable properties can be set once again.
In operation, the release method is similar to the mdlTerminate function.