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.

답변 (1개)

Faiz Gouri
Faiz Gouri 2017년 4월 3일

0 개 추천

This article will help you get rid of this error and launch your MATLAB successfully-

댓글 수: 1

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Installing Products에 대해 자세히 알아보기

질문:

2017년 4월 1일

댓글:

2017년 4월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by