Terminate MATLAB Automation server
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: