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 CenterFile Exchange에서 Introduction 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