MATLAB: Do I receive the error: “MATLAB: command not found” when starting MATLAB on Linux
MATLAB
When starting MATLAB from a terminal on Linux, I type the command "MATLAB" and I receive the following error:
MATLAB: command not found
I would like to know how to start MATLAB from Linux.
Best Answer
This error indicates that there is either no symbolic link to MATLAB or MATLAB's bin folder is not set on the system's PATH. In order to use the command "MATLAB" to start MATLAB on Linux, either MATLAB's bin folder must be included in the PATH environment variable, or there must be a link to the "MATLAB" script on the PATH.
See the related solution 1-AT26VI "How do I launch MATLAB on Linux?" for more assistance with starting MATLAB on Linux.
If you would like to set the $MATLAB_SHELL then it must be set with an absolute path. For instance if, outside of MATLAB, you get the following result:
> which bash
/bin/bash
Then $MATLAB_SHELL should be set to /bin/bash, not simply bash.
Best Answer