Hi, I downloaded and installes Matlab and activated it via my Study license for Linux 64bit. When I am running ./matlab to start it, it promts me 'License error -9,57', which I cannot find anywhere. Is there someone who might be able to solve thius issue? Thanks in advance.

댓글 수: 1

Chih Chu
Chih Chu 2021년 4월 27일
Did you install the MATLAB on wsl2? If so, the problem is : matlab's activation on every startup is based on hostid, and the hostid is associated with mac address but the mac address on wsl2 is not static on defaults. So you should have a solution for static mac address. There's a solution, https://github.com/microsoft/WSL/issues/5866

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

답변 (2개)

Karl Semich
Karl Semich 2018년 2월 9일

8 개 추천

There are some answers here: https://www.mathworks.com/matlabcentral/answers/99457-how-do-i-activate-matlab BUT my problem was different from the one mentioned there.
I found that if I ran matlab under strace it printed the error message in the output!
$ sudo strace matlab
...
futex(0x10a56f4, FUTEX_WAIT_PRIVATE, 1, NULLLicense 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/R2017b/9
...
My problem ended up being that I had not specified the right "login name" when activating the license. It must be the same as your system username on the computer !

댓글 수: 4

Tara Bartlett
Tara Bartlett 2018년 10월 11일
Thanks! sudo strace matlab didn't work for me, but it turned out I had exactly the same error as you, so fixed!
vivek kumar rocky
vivek kumar rocky 2019년 4월 6일
just run "bash activate_matlab.sh" which is inside bin folder.
and enter your login name and password.and finally proceed with your computer user account name as login name.
Nabeel Iqbal
Nabeel Iqbal 2020년 2월 6일
Thanks for the solution, worked like a charm for me as well!
Erik Anders Tengblad García
Erik Anders Tengblad García 2022년 12월 13일
Thanks! it worked, when installing username must be the same than computer login name as said.

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2014년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by