Error trying to launch Matlab on Ubuntu using terminal

6 vues (au cours des 30 derniers jours)
Mohamad Kashan Ahmad
Mohamad Kashan Ahmad le 1 Avr 2017
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.

Réponses (1)

Faiz Gouri
Faiz Gouri le 3 Avr 2017
This article will help you get rid of this error and launch your MATLAB successfully-
  1 commentaire
Walter Roberson
Walter Roberson le 3 Avr 2017
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by