Matlab from command line
1 view (last 30 days)
Show older comments
federico moro
on 24 May 2017
Answered: Walter Roberson
on 24 May 2017
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
0 Comments
Accepted Answer
Walter Roberson
on 24 May 2017
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 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!