Have been trying many time by updating the licenses still got Error.

3 次查看(过去 30 天)
I have tried all the ways in this link to solve the issue but it didn't work for me:
I'm using a virtual-machine of ubuntu and trying to aactivate matlab with ndividual and Campus-Wide license,
Here is my terminal:
lee@C:~$ sudo matlab
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 on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2022b/9
Diagnostic Information:
Feature: MATLAB
License path: /root/.matlab/R2022b_licenses:/usr/local/MATLAB/R2022b/licenses/license.dat:/usr/local/MATLAB/R2022b
/licenses/license_lee-virtual-machine_40718661_R2022b.lic
Licensing error: -9,57.
Any help would be greatly appreciated, thanks so much.
Have a nice day.

回答(2 个)

Vinayak
Vinayak 2023-1-2
Kindly refer to the following MATLAB Answer link that references a similar query. https://www.mathworks.com/matlabcentral/answers/502799-license-manager-error-9-your-username-does-not-match-the-username-in-the-license-file

Walter Roberson
Walter Roberson 2023-1-2
Do not activate against root and do not sudo to run matlab. Activate against the user name lee. You can, if you need to, sudo the installation executable and activation executable in order to write the files in places "lee" account cannot write, but be sure to name lee as the account.

类别

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

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by