License Manager Error -5

84 views (last 30 days)
Marta Sans Merce
Marta Sans Merce on 8 May 2019
Hi,
I'm trying to do some boxplots. When I tried, I've got an error saying that I need the Statistics and Machine Learning Tollbox. I've check and this toolbox has been intalled already when I bought the license for matlab.
From the internet I've got that I should checkout the license for this toolbox and it says License Manager error -5 (see below). I've check in the folder :
/Users/$USER/Library/Application Support/MathWorks/MATLAB/
and there are two sub-foldres:
R2018b
R2018b_licenses
When I check in licenses there is one file with .lic as extension.
But this doesn't solve my problem, so I'm still unable to use the Statistics and Machine Learning Toolbox.
What can I do?
Thanks!
Marta
>> boxplot(Transposed_Array_DAP_values)
'boxplot' requires Statistics and Machine Learning Toolbox.
>> license('checkout','Statistics_Toolbox')
License checkout failed.
License Manager Error -5
Cannot find a license for Statistics_Toolbox.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2018b/5
Diagnostic Information:
Feature: Statistics_Toolbox
License path: /Users/mtts/Library/Application Support/MathWorks/MATLAB/R2018b_licenses/license_mac-0475_40749219_R2018b.lic:/Applications/MATLAB_R2018b.app/licenses/license.dat:/Applications/MATLAB_R2018b.app/licenses/*.lic
Licensing error: -5,357.
ans =
0

Answers (1)

Pruthvi Muppavarapu
Pruthvi Muppavarapu on 13 May 2019
Hi Marta,
Could you check whether you have only a network.lic file, instead of license.lic file. If that is the case, try contacting your license adminstrator to check the license.dat file on the license manager server machine.
If you find the license.lic file and the issue persists, then it might be a result of corrupted fromatting in your license file. Try to ensure that the strings in the file such as #, SERVER, DAEMON or INCREMENT all begin on a left-justified line. Sometimes they might get wrapped on the end of previous line and it might cause them to be omitted.
You can also try re-activating the MATLAB directly which updates the license file, instead of following the above procedure.
Regards,
Pruthvi

Categories

Find more on Manage Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!