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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!