MATLAB Answers

How to launch the installation of the executable file of matlab in linux ?

조회 수: 5(최근 30일)
Hamid CHAABANI
Hamid CHAABANI 2021년 7월 25일
답변: Steven Lord 2021년 7월 28일
how to launch the installation of the executable file of matlab in linux ? Any information will be greatly appreciated ! Thank you !

답변(2개)

Shadaab Siddiqie
Shadaab Siddiqie 2021년 7월 28일
From my understanding you want to run MATLAB in your Linux system. MATLAB must be launched from the command line on Linux. If you completed installation as root user, you may have had the option to install symbolic links to MATLAB in a folder on your system path. If you selected to install these links you can launch MATLAB from the command line, regardless of current working directory, by typing the command:
user@host$> matlab
If this does not work, or if you did not install the symbolic links during installation, you must launch MATLAB by specifying the full path to the MATLAB start script:
user@host$> cd $MATLABROOT/bin
where $MATLABROOT is the full path to your MATLAB installation directory, ex:
/usr/local/matlab/R2009b
then launch MATLAB using the following command:
user@host$> ./matlab
See the Documentation for additional information about starting MATLAB on Linux.
If you want to create short cut for MATLAB in Linux, To do so, start by moving into /usr/local/bin:
cd /usr/local/bin
Then create the link with the ln -s command. For example, if you are using R2020b, run this command:
ln -s /usr/local/MATLAB/R2020b/bin/matlab matlab
This will allow you to run MATLAB from anywhere on your system without needing to first navigate to the MATLAB installation directory.

Steven Lord
Steven Lord 2021년 7월 28일
Run the install command in that directory
./install
Then follow the prompts. If you need assistance understanding any of the steps, consult the mathworks_installation_help.pdf file in that directory or contact Technical Support using the Contact Support link on the Support section of this website.

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by