I can't use matlab on ubuntu 16.04.

4 ビュー (過去 30 日間)
Sokhib Tukhtayev
Sokhib Tukhtayev 2017 年 3 月 8 日
コメント済み: Kris Walker 2020 年 8 月 17 日
When typing
matlab
in the terminal it produces
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -9
Your username does not match the username in the license file.
To run MATLAB on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2016b/9
Diagnostic Information:
Feature: MATLAB
License path: /home/voo-doo/.matlab/R2016b_licenses:/usr/local/MATLAB/R2016b/licenses/license.dat:/usr/local/MATLA
B/R2016b/licenses/license_voodoo-HP-envy_957383_R2016b.lic
Licensing error: -9,57.
How can I change my username in Matlab licence file in order to match Ubuntu username?

回答 (2 件)

Walter Roberson
Walter Roberson 2017 年 3 月 11 日
The last step of activation requirws indicating the login name you will run the software on. It tends to get pre-filled as root on Linux. You need to change that to your Ubuntu login name.
Yes, I am directly contradicting Jose on this point. Error 9 has everything to do with the login name compared to the name provided at the time you activated the license.
  1 件のコメント
Kris Walker
Kris Walker 2020 年 8 月 17 日
This is correct. I had switched to root in order to allow MATLAB to install inside /usr/ and had to manually enter a username, but I didn't make it the same as my Ubuntu username. Running
sudo sh /usr/local/MATLAB/R20XXx/bin/activate_matlab.sh
as instructed in the link and entering the username correctly this time fixed it. (If you're not sure of what exactly your Ubuntu username is, or which is which, it's the one that is printed out when you type whoami in the terminal).

サインインしてコメントする。


Jose Lara
Jose Lara 2017 年 3 月 10 日
Hi Sokhib, try troubleshooting the issue with the link provided in the error: http://www.mathworks.com/support/lme/R2016b/9
As for chancing your username in the MATLAB license file, it does not need to match the Ubuntu username. The error is stating that you are using a license number that is not under your name. Reactivate your MATLAB software by using a license number under your MathWorks account.
  1 件のコメント
Sokhib Tukhtayev
Sokhib Tukhtayev 2017 年 3 月 11 日
Thank you. I use Matlab with my MathWorks account in a different laptop too (Windows). Can it be the cause? If so, how can I sign out from that account and use Matlab in my computer that is generating the error on Ubuntu?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by