Error trying to launch Matlab on Ubuntu using terminal

1 次查看(过去 30 天)
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.

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by