Error trying to launch Matlab on Ubuntu using terminal

Hello, I am able to launch Matlab using ./matlab in bin folder. But I want to be able to create an icon or launch it using terminal.
I am trying these command and I get error:
sudo /usr/local/MATLAB/bin/matlab -desktop
sudo /usr/local/MATLAB/bin/matlab matlab
the error is :
License checkout failed.
License Manager Error -9
This error may occur when:
-The hostid of this computer does not match the hostid in the license file.
-A Designated Computer installation is in use by another user.
If no other user is currently running MATLAB, you may need to activate.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2017a/9
Diagnostic Information:
Feature: MATLAB
License path: /home/kashan/.matlab/R2017a_licenses/license_kashan_1072714_R2017a.lic:/usr/local/MATLAB/licenses/li
cense.dat:/usr/local/MATLAB/licenses/license_kashan_1072714_R2017a.lic
Licensing error: -9,57.
Could anyone help me please.

Respuestas (1)

Faiz Gouri
Faiz Gouri el 3 de Abr. de 2017
This article will help you get rid of this error and launch your MATLAB successfully-

1 comentario

In particular when you sudo, you are running as root, but you probably have an individual user license that is licensed against your user name, not against root.

Iniciar sesión para comentar.

Categorías

Más información sobre Installing Products en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Abr. de 2017

Comentada:

el 3 de Abr. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by