Development Environment | ![]() ![]() |
Adding Startup Options for UNIX Platforms
Include startup options (also called command flags) after the matlab
startup function. The startup options for UNIX are listed in the following table
Option |
Description |
-arch |
Run MATLAB assuming architecture arch . |
-arch/ext |
Run the version of MATLAB with the extension ext if it exists, assuming architecture arch . |
-c licensefile |
Set LM_LICENSE_FILE to licensefile . It can have the form port@host . |
-Ddebugger [options] |
Start MATLAB with the specified debugger. |
-debug |
Turn on MATLAB internal debugging. |
-display Xserver |
Send X commands to Xserver . |
-ext |
Run the version of MATLAB with the extension ext , if it exists. |
-h or -help |
Displays startup options. |
-mwvisual visualid |
Specify the default X visual to use for figure windows. |
-n |
Print environment variables only. |
-nodesktop |
Start MATLAB without bringing up the MATLAB desktop. Use this option to run without an X-window, for example, in VT100 mode, or in batch processing mode. Note that if you pipe to MATLAB using the > constructor, the nodesktop option is used automatically.With nodesktop , you can still use development environment tools, such as the Help browser, by starting them using a function, for example, helpbrowser .Don't use nodesktop to provide a command line interface, if you prefer that over the desktop tools. Instead, select View -> Desktop Layout -> Command Window Only. |
-nojvm |
Start MATLAB without loading the Java VM. This minimizes memory usage and improves initial startup speed. With nojvm , you cannot use the desktop, nor any of the tools that require Java. The restrictions are the same as those described under UNIX Platform Limitations in the R12 Release Notes. |
-nosplash |
Start MATLAB without displaying the splash screen during startup. |
For example, to start MATLAB without the splash screen, type
matlab -nosplash
![]() | Adding Startup Options for Windows Platforms | Reducing Startup Time with Toolbox Path Caching | ![]() |