Commonly Used Startup Options
This table lists commonly used startup options for the matlab
command. For a complete list of options, refer to the input arguments for matlab (Windows)
, matlab (macOS)
, or matlab (Linux)
.
Platform | Option | Description |
---|---|---|
All |
| License to use, specified as the full path to a license file, a
list of license file paths, or the Licenses specified in the
|
All |
| Display startup options (without starting MATLAB®). |
All |
| Automatically write output from MATLAB to the specified log file. |
Windows platforms |
| Start MATLAB with the desktop minimized. Any desktop tools or documents that were undocked when MATLAB was last closed are not minimized at startup. |
macOS and Linux platforms |
| Start MATLAB without loading the JVM® software. This minimizes memory usage and improves
initial startup speed, but restricts functionality. With
For example, you cannot set
preferences if you start MATLAB with the |
All |
| Start MATLAB without displaying its splash screen. |
All |
| Run the specified statement non-interactively. |
All |
| Run the specified statement interactively. |
All |
| Limit MATLAB to a single computational thread. This option is for numerical computations only. On Windows systems, this option uses the multithreading capabilities of the computer on which it is running by default. |
For a complete list of options, refer to the input arguments for matlab (Windows)
, matlab (macOS)
, or matlab (Linux)
.