Installation guide
1 Startup and Shutdown
... matlab.exe -nosplash -r "results"
Startup Options in DOS Window
When you start MATLAB in a DOS window, include startup options after
the
matlab command.
This example uses the
nosplash startup option to start MATLAB without the
splash screen, and adds the
-r option to run the results function located in
the startup directory, after starting MATLAB in a DOS window:
matlab -nosplash -r "results"
Adding Startup Options for UNIX Platforms
Include startup options (also called command flags or command line switches)
after the
matlab command. On UNIX systems a startup option is preceded by
a hyphen (-). For example, to start MATLAB without the splash screen, type
matlab -nosplash
Commonly Used Startup Options
The following table provides a list of some commonly used startup options
for both Windows and UNIX platforms. For more information, including a
complete list of startup options, see the
matlab (Windows) reference page or
the
matlab (UNIX) reference page.
Platform
Option Description
All
-c licensefile
Set LM_LICENSE_FILE to licensefile.Itcanhavethe
form
port@host.
All
-h or -help
Display startup options (without starting MATLAB).
All
-logfile
"logfilename"
Automatically write output from MATLAB to the
specified log file.
1-14