How can I run MATLAB from the Terminal in any drive?

2 次查看(过去 30 天)
Hello, I have a problem with my Mac and MATLAB.
I need to run MATLAB form the Terminal and I nedd to do this from different drive, different from the installation drive of the program (Machintosh HD/Applications/MATLAB_R2018a.app/bin/matlab).
If I try to run Matlab in this drive with the command ./matlab, obviously it works but if I try from any other drive it doesn't. I find something about create an alias with the command
sudo ln -s /Applications/MATLAB_R2018a.app/bin/matlab matlab
but the result i got is
ln: matlab: File exists
How can I solve this problem?? Thank you very much for the help!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by