Development Environment    

Adding Startup Options for UNIX Platforms

Include startup options (also called command flags) after the matlab startup command.

For example, to start MATLAB without the splash screen, type

For more details, see the matlab reference page.

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.
-check_malloc
Set the MATLAB_MEM_MGR environment variable to 'debug'. This starts MATLAB memory integrity checking.
-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
Display startup options (without starting MATLAB).
-logfile log
Make a copy of any output to the Command Window in the file log. This includes all crash reports.
-mwvisual visualid
Specify the default X visual to use for figure windows.
-n
Display final values of environment variables and arguments passed to MATLAB (without starting MATLAB).
-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 most development environment tools by starting them via a function. Specifically use
You cannot use the LaunchPad and the Command History window in -nodesktop mode.
Don't use nodesktop to provide a command line interface. If you prefer a command line interface, 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, or any of the tools that require Java. The restrictions are the same as those described under Platform Limitations in the Release Notes.
-nosplash
Start MATLAB without displaying the splash screen during startup.


  Adding Startup Options for Windows Platforms Toolbox Path Caching