Why do I receive License Manager Error 400?

1 view (last 30 days)
I recently had a  trial and have now purchased and installed a license.
When I start MATLAB I am prompted to log in and then get the following error:
 
License Manager Error 400
License checkout failed.
License Manager Error 400
The license you requested has expired.
 
How can I resolve this error?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 14 Aug 2017
This error indicates that your MATLAB installation was not properly converted from the trial to your new license.
The issue can be resolved by removing the XML file that MATLAB uses to determine whether it should prompt you to log in.
The file is located in a folder named "R20XXx_licenses", where "R20XXx" is the release of MATLAB (e.g. R2015a).
 
Windows:
C:\Users\%USERNAME%\AppData\Roaming\MathWorks\MATLAB\R20XXx_licenses\license_info.xml
 
Linux / Mac:
~/.matlab/R20XXx_licenses/license_info.xml
To find the folder on a Mac:
- Open Finder
- On the Apple menu bar, click on "Go"
- Select "Go to Folder"
- In the text box, enter the following:
~/.matlab
- Click on "Go"
  6 Comments

Sign in to comment.

More Answers (3)

Karen A
Karen A on 5 May 2015
I have a MAC, and I followed the steps and work!
Thanks!

sukur altuntas
sukur altuntas on 22 May 2015
Thank you :) It's working now on mac.

farida menisy
farida menisy on 22 May 2015
I have a windows, but i can't find the XML file
  3 Comments
Scott
Scott on 28 Apr 2016
If you are unable to locate your XML file, please contact MathWorks support:
-Scott
MathWorks Installation & Licensing Support

Sign in to comment.

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!