Best practice is to run MATLAB® only as a privileged user whenever elevated privileges are specifically required. A privileged user refers to the root user on Linux® and Mac, or an administrator on Windows®.
|Start MATLAB program from Windows system prompt|
|Start MATLAB program from macOS Terminal|
|Start MATLAB program from Linux system prompt|
|Determine if MATLAB started with |
|Terminate MATLAB program|
|Terminate MATLAB program (same as quit)|
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 options in the Preferences Window.
Ways to exit MATLAB.
Techniques for recovering information if MATLAB terminates unexpectedly.
Sending crash reports to MathWorks®.
Using MathWorks Crash Reporter and Crash Analyzer to report an internal error.
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.
How to remove
pk-gtk-module messages at startup.