Matlab from command line

1 回表示 (過去 30 日間)
federico moro
federico moro 2017 年 5 月 24 日
回答済み: Walter Roberson 2017 年 5 月 24 日
Can someone help me with this?
I am not able to use matlab from the command line. I have installed matlab r2017a on my mac. When I try to call it from the command line it returns this: The file /Users/XXXX/matlab does not exist.
Thanks

採用された回答

Walter Roberson
Walter Roberson 2017 年 5 月 24 日
If you installed MATLAB R2017a in the usual place on the Mac, then you can add this to your ~/.bash_profile
alias matlab='/Applications/MATLAB_R2017a.app/bin/matlab -nojvm -nodesktop'
if you want to be able to run from the command line without the desktop GUI.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by