StartMATLABprogram fromWindowssystem prompt
matlab
starts the MATLAB®program from the Microsoft®Windows®system prompt. In this topic the termmatlab
refers to the command you type, and MATLAB refers to the program.
Thematlab
command:
Determines the MATLAB root folder, the value returned by thematlabroot
function.
Processes command-line options and passes other options to MATLAB.
To capture the exit code, start MATLAB with the-wait
option.
matlab
starts MATLAB with the specified startup options.option1 ... optionN
To add folders to the MATLAB search path at startup, set theMATLABPATH
environment variable before running thematlab
command. For more information, seeAdd Folders to the MATLAB Search Path at Startup.