Running matlab from the command line.

6 ビュー (過去 30 日間)
acelaya0
acelaya0 2015 年 7 月 27 日
コメント済み: acelaya0 2015 年 7 月 27 日
I'm trying to run matlab from the mac OS X terminal (I'm running OS X Yosemite). From what I gathered, typing "matlab -nodesktop" should do the trick. However, upon doing that I get the following:
-bash: matlab: command not found
What can I do to fix this?

採用された回答

Walter Roberson
Walter Roberson 2015 年 7 月 27 日
For example:
/Applications/MATLAB_R2014a.app/bin/matlab -nodesktop -nojvm
Adjust the R2014a according to the release you are using.
Note: if you happen to have used the options on the dock to assign MATLAB to a desktop, then OS-X will switch to that desktop even though you are not using graphics.
If you do not use the -nojvm flag then you will get the splash screen coming up even though you are not using the desktop.
  1 件のコメント
acelaya0
acelaya0 2015 年 7 月 27 日
That worked. Thanks!

サインインしてコメントする。

その他の回答 (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