-1

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:

  1. 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 ?

  2. 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 ?

Talha
  • 17

1 Answers1

0

I have found a solution to my request.

  1. I have installed matlab-support package using:

    sudo apt-get install matlab-support

this will add an entry to the launcher and some other features.

  1. After completion, I have changed the ownership of the .matlab folder in the home folder to my own user account because I do not want to run Matlab as a super user. I have used the felowing command

    cd ~ sudo chown username -R ~/.matlab

Now, Matlab is working as was intended.

Talha
  • 17