Class: matlab.System
Release resources
releaseImpl(obj)
releaseImpl(
releases any resources used by
the System object™, such as file handles or devices. This method also performs any necessary
cleanup tasks. To release resources for a System object, you must use obj
)releaseImpl
instead of a
destructor.
releaseImpl
is called by the release
method. releaseImpl
is also called when
the object is deleted or cleared from memory, or when all references to the object have gone
out of scope. For details, see Detailed Call Sequence.
You must set Access = protected
for this method.