I am using Ubuntu 16.04.03LTS OS.
I have installed Matlab in this directory ...usr/local/MATLAB/R2015a
. The installation completed without any problem. But when I try to open Matlab I have to navigate to that directory, specifically to ...usr/local/.../R2015a/bin$
, and use the root permission to open it.
My questions are:
How can I open this package (Matlab) from the home directory without having to navigate to that directory where it is installed and without a root permission ?
Even better, I would like to know how to create a simple icon in the launcher and open Matlab without having to open it from the terminal ?
/usr/local/bin/matlab
that points to the startup script (and should "just work" since /usr/local/bin should be in your defaultPATH
) – steeldriver Feb 10 '18 at 14:25la@la-lenovo:~$ matlab
I gotmatlab: command not found
I have to navigate to the directory and run Matlab like thisla@la-lenovo:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/bin$ sudo ./matlab
– Talha Feb 10 '18 at 17:21