exit

Terminate MATLAB program (same as quit)

Syntax

exit

Description

exit terminates the current session of MATLAB®. This function is equivalent to the quit function and takes the same options. For more information, see quit..

See Also

Introduced before R2006a