MATLAB Environment     Search    Help Desk 

Starting and Quitting MATLAB

Starting MATLAB

Double-click on the MATLAB shortcut icon in the installation directory or on your desktop.

Type matlab at the operating system prompt.

Startup Files

At startup, MATLAB automatically executes the master M-file matlabrc.m and, if it exists, startup.m.

matlabrc.m.    The file matlabrc.m, which lives in the local directory, is reserved for use by The MathWorks and, on multiuser systems, by your system manager.

startup.m.    The file startup.m is for you to use. You can set default paths, define Handle Graphics defaults, or predefine variables in your workspace.

Startup Options

You can specify startup options for MATLAB.

Add these options to the target path for your Windows shortcut for MATLAB. If you run MATLAB from a DOS window, include these options with the startup command.

Startup Option
Description
automation
Start MATLAB as an automation server, minimized, and without the MATLAB splash screen. (For more information, see Chapter 7 of the Application Program Interface Guide.)
logfile logfilename
Automatically write output from MATLAB to the specified log file.
minimize
Start MATLAB minimized and without the MATLAB splash screen.
nosplash
Start MATLAB without displaying the MATLAB splash screen.
r M_file
Automatically run the specified M-file immediately after MATLAB starts.
regserver
Modify the Windows registry with the appropriate ActiveX entries for MATLAB. (For more information, see Chapter 7 of the Application Program Interface Guide.)
unregserver
Modify the Windows registry to remove the ActiveX entries for MATLAB. Use this to reset the registry. (For more information, see Chapter 7 of the Application Program Interface Guide.)

For a list of MATLAB startup options available for UNIX, at the UNIX prompt type



[ Previous | Help Desk | Next ]