Set matlab executable in bash terminal on mac

4 ビュー (過去 30 日間)
Reuben Addison
Reuben Addison 2022 年 11 月 10 日
回答済み: Vinayak 2022 年 11 月 15 日
I am trying to set an executable to open matlab from the terminal, I need that to run a program called simnibs
I tried this command "sudo ln -s /Applications/MATLAB_R2022b.app/bin/matlab /usr/local/bin/matlab"
But I am getting the message
ln: /usr/local/bin/matlab: No such file or directory
I guess my question is how do I creeate the file or directory "matlab"
I am using the 2021 macbook pro

回答 (1 件)

Vinayak
Vinayak 2022 年 11 月 15 日
Links to the following documentation will give you more insights on how to set symbolic links and run MATLAB executables directly from the command line.
https://www.mathworks.com/help/matlab/matlab_env/start-matlab-on-linux-platforms.html

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by