MATLAB: How to run MATLAB from the mac terminal

macMATLABterminal

I am trying to run MATLAB from the mac OS X terminal. I'm using macOS Mojave version 10.14.2, and MATLAB R2018b. What I'm doing is:
  • I open the terminal
  • Go to /Applications
  • pe MATLAB_R2018
However, I get the following:
-bash: MATLAB_R2018b: command not found
Can someone help me with this?
Thanks.

Best Answer

I do this:
open /Applications/MATLAB_R2018b.app/