Caution
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 on Windows Platforms
Different ways to start MATLAB on a Microsoft® Windows platform.
Start MATLAB on macOS Platforms
Start MATLAB from the Applications
folder or a Terminal
window.
Start MATLAB on Linux Platforms
Start MATLAB on Linux platforms by typing matlab
at the operating
system prompt.
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.
Recovering Data After Abnormal Termination
Techniques for recovering information if MATLAB terminates unexpectedly.
Sending crash reports to MathWorks®.
When MATLAB Terminates Unexpectedly
Using MathWorks Crash Reporter and Crash Analyzer to report an internal error.
Specifying Java Startup Options
You can specify custom Java® startup options by creating a java.opts
file.
Associate .mat Files with MATLAB
To associate a .mat
extension type with MATLAB R2010b or later, use the Microsoft
Windows
Default Programs control panel.
Startup with Java Access Bridge Software
Starting MATLAB with programs using Java Access Bridge software.