Information/Error

[Matlab] -bash: matlab: command not found

페트론 2020. 4. 23. 19:58

https://stackoverflow.com/questions/45315725/bash-matlab-command-not-found

 

-bash: matlab: command not found

I am a bit surprised, but I can't run matlab by the terminal of my Mac. I am trying the command /Applications/MATLAB_R2015b.app/bin/matlab but I get the error -bash: matlab: command not found L...

stackoverflow.com

 

아래 명령어를 통해 Matlab의 위치를 export 해준다.

 

$ export PATH=/usr/local/MATLAB/R2018b/bin/:$PATH

 

그리고 아래 명령어를 통해 matlab을 실행할 수 있다.

 

$ matlab

 

반응형