This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Release COM interface




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 control itself, use the delete function.

Input Arguments

collapse all

COM object, specified as a function handle.


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

Introduced before R2006a