MATLAB: Create ‘symbolic links to MATLAB scripts’ and Launcher and Desktop shortcut

installationMATLABunix

I have Ubuntu 14.04.1 LTS.
When asked about creating 'symbolic links to MATLAB scripts' during installation, I mistakenly kept that unchecked. Now how can that be fixed without re-installing MATLAB all over again?
I used the following but I don't know if it is fixed:
ln -s $MATLAB/bin/matlab matlab
and how to create launcher and desktop shortcut? I did the following:
sudo apt-get install matlab-support
It seemed to be installing something but after it's done, I still don't have launcher and desktop shortcut. What do I do?

Best Answer

You need to create a symbolic link into a directory where is set in PATh. For exmaple, to create MATLAB symbolic link in /usr/local/bin, please try
sudo ln -s $MATLAB/bin/matlab /usr/local/bin/matlab
Then you can launch MATLAB by just typing matlab.
Also, to create a launcher in Desktop, after installing matlab-support please search MATLAB in Applications and drag & drop the icon to your Desktop.