Release COM interface
h.release releases the interface and all resources used by the interface. 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.
release(h) is an alternate syntax.
Releasing the interface does not delete the control itself (see the delete function), since other interfaces on that object might still be active.
COM functions are available on Microsoft® Windows® systems only.