Main Content

release

Release COM interface

Description

release(c) releases the interface and all resources used by the interface. Other interfaces on that object might still be active.

You must release the handle when you are done with the interface. A released interface is no longer valid. MATLAB® generates an error if you try to use an object that represents that interface.

To release the interface and delete the object, use the delete function.

Input Arguments

collapse all

COM object, specified as a function handle.

Limitations

  • COM functions are available on Microsoft® Windows® systems only.

Introduced before R2006a