FUNCTION REFERENCE

quit

End a command-line run with an exit status.

End a command-line run with an exit status.

Syntax

quit

Syntax

quit(status)

Same as exit: stops at once and the matrust process exits with status (0 when omitted), an integer from 0 to 255; any other status is an error, which exits with 1.

Differences from MATLAB: no 'force' or 'cancel' options and no finish.m. The desktop app and the browser console report that quit is not supported in this host instead of closing.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.