Main Content

Quit (COM)

Terminate MATLAB Automation server

Synopsis

IDL Method Signature

void Quit(void)

Microsoft Visual Basic Client

Quit

MATLAB Client

Quit(h)

Description

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

Version History

Introduced before R2006a