Clear Filters
Clear Filters

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

3 views (last 30 days)
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.

Answers (2)

Vinayak
Vinayak on 2 Jan 2023
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 on 2 Jan 2023
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.

Categories

Find more on Install Products in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!