I've successfully created a symbolic link to MATLAB as suggested in the questions below: How can I launch MATLAB 2012?
So I can run MATLAB from any directory. However, I've noticed that some people have an installation that instead of inputting in the command line:
$./matlab
They just put:
$matlab
and it runs. I would like to have the latter done. I am not quite sure how this is done, since MATLAB is an executable file and the terminal would have to automatically run it.