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
Listing the contenents of the folder /Applications/MATLAB_R2015b.app/bin/ I can see the word matlab which is supposed to be the executable. I don't know what's happening.
cd /Applications/MATLAB_R2015b.app/bin/followed by./matlab?/Applications/MATLAB_R2015b.app/binto your system path in your.bash_profileso all you have to do is type inmatlabinstead and you can start MATLAB regardless of whatever directory you're in.cat ~/.bash_profileorcat ~/.bashrcto double check that there is not anothermatlabreference somewhere, for starters.