Cannot run Matlab Student on Linux Mint

I just purchased the student version of Matlab and installed & activated following the instructions from Matlab. However, I cannot run it either with sudo or without.
With sudo, there is the license error saying the user name is different, I figure out that it becomes 'root' so is different from the username of the license. Without sudo, I got stuck at the splashscreen and can never go to the Matlab window. I have to enter ctrl-Z to stop it running from the terminal.
I tried to install in both the home directory and the default /usr/local directory trying to avoid the issue with administrative privilege, but the result is the same (stuck at the splashscreen). I also tried the matlab-support package, still no luck.
Thanks in advance for replying.

 Respuesta aceptada

bdcxns
bdcxns el 6 de Mayo de 2018
Editada: madhan ravi el 29 de Nov. de 2018

0 votos

I found the answer here:
After adding the write permission by chmod a+w -R ~/.matlab, Matlab can start normally, without superuser privilege.

4 comentarios

Gaston Melo
Gaston Melo el 14 de Sept. de 2018
Hi, im using linux mint 19 and I install matlab with sudo ./install on terminal. When I tried to start matlab with ./matlab it freeze with matlab logo. I tried with sudo ./matlab with the same freeze. I changed the owner of the matlab folder with the user name but have the same result. If I tried to run matlab with root user I get the licence error. What is the problem? IF i run matlab --nojvm it start matlab without problems. Thanks
bdcxns
bdcxns el 29 de Nov. de 2018
Don't use sudo to install, or run, if Matlab asks for consistency between username and license.
Have you tried adding the write permission on Matlab preference folder?
Walter Roberson
Walter Roberson el 29 de Nov. de 2018
You probably do need sudo to install.
bdcxns
bdcxns el 29 de Nov. de 2018
if this is necessary then install in home directory and run without sudo as the student license only allow one user
I managed to solve this issue in this way

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 6 de Mayo de 2018

Editada:

el 29 de Nov. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by