Terminate MATLAB program
quit terminates the MATLAB® program. Call
quit from the MATLAB command prompt.
quit function does not automatically save the
You can add the following features to the
To interrupt a MATLAB command, see Stop Execution.
quit cancel is for use in a
script and cancels quitting. It has no effect anywhere else.
quit force bypasses
terminates MATLAB. Use this syntax to override the
finish script if
the script does not let you quit.
Online does not support displaying a confirmating dialog box or using a
finish.m script. Before logging out, MATLAB
Online™ saves open files and session data.
Click the close button on the MATLAB desktop.