How to launch the installation of the executable file of matlab in linux ?
38 views (last 30 days)
Show older comments
how to launch the installation of the executable file of matlab in linux ? Any information will be greatly appreciated ! Thank you !
0 Comments
Answers (2)
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
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.
0 Comments
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.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!