License Manager Error -5

조회 수: 54 (최근 30일)
Marta Sans Merce
Marta Sans Merce 2019년 5월 8일
답변: Pruthvi Muppavarapu 2019년 5월 13일
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

답변 (1개)

Pruthvi Muppavarapu
Pruthvi Muppavarapu 2019년 5월 13일
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

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by