release

System object: comm.ConstellationDiagram
Package: comm

Allow property value and input characteristics changes

Syntax

release(H)

Description

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 scope figure window. After calling the release method, any non-tunable properties can be set once again.

    Note:   You can use the release method on a System object™ in code generated from MATLAB®, but once you release its resources, you cannot use that System object again.

Algorithms

In operation, the release method is similar to the mdlTerminate function.

Was this topic helpful?