MATLAB Function Reference |
Start MATLAB (Windows systems)
Syntax
matlab helpOption matlab modeOption matlab mgrOption matlab-automation
matlab-c
licensefile matlab-logfile
filename matlab-minimize
matlab-nosplash
matlab-noFigureWindows
matlab-r
MATLAB_command matlab-regserver
matlab-timing
matlab-unregserver
Description
matlab
is a starter program (currently a DOS batch script) that starts the main MATLAB executable. (In this document, the term matlab
refers to the starter program, and MATLAB refers to the main executable). Before actually initiating the execution of MATLAB, it configures the run-time environment by
There are two ways in which you can control the way the matlab
starter program works:
Specifying Options at the Command Line
Options that you can enter at the command line are as follows:
matlab helpOption
displays information that matches the specified helpOption
argument without starting MATLAB. helpOption
can be any one of the keywords shown in the table below. Enter only one helpOption
keyword in a matlab
command.
Option |
Description |
-help |
Display matlab command usage. |
-h |
The same as -help . |
-? |
The same as -help . |
matlab mgrOption
starts MATLAB in the memory management mode specified by mgrOption
. Enter only one of the options shown below.
matlab
starts MATLAB as an automation server. The server window is minimized, and the MATLAB splash screen is not displayed on startup.-automation
matlab
starts MATLAB using the specified license file. The -c
licensefile
licensefile
argument can have the form port@host
. This option causes the LM_LICENSE_FILE
and MLM_LICENSE_FILE
environment variables to be ignored.
matlab
starts MATLAB and makes a copy of any output to the Command Window in file log. This includes all crash reports.-logfile
filename
matlab
starts MATLAB with the desktop minimized. Any desktop tools or documents that were undocked when MATLAB was last closed will not be minimized upon startup.-minimize
matlab
starts MATLAB but does not display the splash screen during startup.-nosplash
matlab
starts MATLAB but disables the display of any figure windows in MATLAB.-noFigureWindows
matlab
starts MATLAB and executes the specified MATLAB -r
command
command
. Any required M-file must be on the MATLAB path or in the startup directory.
matlab
registers MATLAB as a Component Object Model (COM) server.-regserver
matlab
starts MATLAB and prints a summary of startup time to the command window. This information is also recorded in a timing log, the name of which is printed to the MATLAB Command Window. This option should be used only when working with a Technical Support Representative from The MathWorks.-timing
matlab
removes all MATLAB COM server entries from the registry.-unregserver
Presetting Environment Variables
You can set any of the following environment variables before starting MATLAB.
See Also
Startup Options in the MATLAB Desktop Tools and Development Environment documentation
matlab (UNIX) | max |
© 1994-2005 The MathWorks, Inc.