Release COM interface
release(h) 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.
COM functions are available on Microsoft® Windows® systems only.