How do I run Matlab from the command line?
Answer
To start MATLAB from a DOS window running inside Windows, do the following:
Answer
To start MATLAB from a DOS window running inside Windows, do the following:
- Open a DOS prompt.
- Change directories to $MATLABROOTbin. (where $MATLABROOT is the MATLAB root directory on your machine, as returned by typing. Try in MATLAB Mobile. matlabroot. at the MATLAB Command Prompt.)
- Type “matlab”