Matlab from command line

1 次查看(过去 30 天)
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