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.

Quit (COM)

Terminate MATLAB Automation server


IDL Method Signature

void Quit(void)

Microsoft Visual Basic Client





Quit(h) terminates the MATLAB® server session attached to handle h. The MATLAB object is active until all references have been released, such as when the variable in a function call goes out of scope, or by calling the MATLAB clear h command.

The function name is case-sensitive.

To release the MATLAB object, type:

clear h

Introduced before R2006a