Why isn't the MATLAB command just available in the terminal for OS X?
1 回表示 (過去 30 日間)
古いコメントを表示
I was to use the matlab command in the terminal and it seems I have to do extra stuff for it to be available. How can it "just be available" without me needing to do extra stuff?
0 件のコメント
回答 (1 件)
Walter Roberson
2017 年 12 月 14 日
In my ~/.bash_profile I stored
alias matlab="/Applications/MATLAB_R2017a.app/bin/matlab -nojvm -nodesktop"
If you prefer, you could create /usr/local/bin/matlab with content
#!/bin/ksh
/Applications/MATLAB_R2017a.app/bin/matlab -nojvm -nodesktop
and chmod +x /usr/local/bin/matlab
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!