How to launch the installation of the executable file of matlab in linux ?
37 次查看(过去 30 天)
显示 更早的评论
how to launch the installation of the executable file of matlab in linux ? Any information will be greatly appreciated ! Thank you !
0 个评论
回答(2 个)
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
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 个评论
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!