|Start MATLAB program from Windows system prompt|
|Start MATLAB program from macOS Terminal|
|Start MATLAB program from Linux system prompt|
|Terminate MATLAB program (same as quit)Desktop Tools and Development Environment.Startup and Shutdown|
|Terminate MATLAB program|
Different ways to start MATLAB® on a Microsoft® Windows® platform.
Start MATLAB from the
Applications folder or a Terminal
Start MATLAB on Linux® platforms by typing
matlab at the operating
Specify startup options (also called command flags or command-line switches) that instruct the MATLAB program to perform certain operations when you start it.
Set the initial working folder using the General Preferences panel.
Ways to exit MATLAB.
If MATLAB terminates unexpectedly, then you might lose information. After you start MATLAB again, there are several methods for recovering some of the information.
Upon startup, if MATLAB detects an error log generated by a serious problem during the previous session, then an Error Log Reporter prompts you to email the log to MathWorks® for analysis.
In the event MATLAB experiences a segmentation violation (segv) or other serious problem, the MATLAB System Error dialog box opens to notify you about the problem.
You can specify custom Java® startup options by creating a
To associate a
.mat extension type with MATLAB R2010b or later, use the Microsoft
Default Programs control panel.