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

36 views (last 30 days)
how to launch the installation of the executable file of matlab in linux ? Any information will be greatly appreciated ! Thank you !

Answers (2)

Shadaab Siddiqie
Shadaab Siddiqie on 28 Jul 2021
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 on 28 Jul 2021
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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!