2

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.

2

You can create a shortcut to your matlab installation by doing :

sudo ln -s /<path-to-your-matlab>/matlab /usr/local/bin/matlab

For example if your matlab folder is in your Download folder, run :

sudo ln -s /home/Arturo/Download/matlab /usr/local/bin/matlab

Once you have created this shortcut, you will only need to type matlab in a terminal to open Matlab.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.