MATLAB Answers

Why do I receive License Manager Error -5?

705 ビュー (過去 30 日間)
Why do I get the following error message when starting MATLAB:
License checkout failed. No such FEATURE exists. License Manager Error -5

採用された回答

MathWorks Support Team
MathWorks Support Team 2018 年 1 月 12 日
There are multiple reasons why you might be receiving this error:
1. This message usually indicates that you are trying to use a product for which you are not licensed. You can look at your license.lic file located within your MATLAB installation to see if you are licensed to use this product.
To determine where your license file is located, please refer to the following article:
Where are the license files for MATLAB located?
NOTE: If you only have a network.lic file, instead of a license.lic file, you are using a network license. In this case contact your license administrator to check the license.dat file on the License Manager server machine.
2. If you are licensed for this product, this error may be the result of formatting problems in your license file. In order to avoid this, ensure that the following strings all begin on a left justified line: #, SERVER, DAEMON, or INCREMENT. Sometimes an INCREMENT line can get wrapped on the end of the preceding INCREMENT line causing it to be omitted.
You can also simply re-activate MATLAB on this system. That will automatically update the license file on your system.

  12 件のコメント

表示 9 件の古いコメント
Walter Roberson
Walter Roberson 2017 年 6 月 2 日
The evidence at the moment suggests that you do not have a license for the optimization toolbox. That would be confirmed if the result of
which -all lsqcurvefit
showed a file but said "no license".
If it instead says there is no file then you might need to reinstall the optimization toolbox.
hadar lackritz
hadar lackritz 2018 年 4 月 9 日
how do i get a license for the optimization toolbox? I've got matlab 2016a and the answer for which -all lsqcurvefit at my matlab showed a file but said "no license".
Walter Roberson
Walter Roberson 2018 年 4 月 9 日
You would need to buy a license from Mathworks. You should check with Mathworks sales as I am not sure if you are within the range of time where they permit licenses to be purchased for older releases. I suspect that you might be too late. Mathworks might ask you to pay two years of support contract to bring your support to present and then you would purchase the license against the current version, which would entitle you to use previous versions as well. (Situation might get messy if you are a student; I have never been clear on the rules for students accessing previous versions)

サインイン to comment.

その他の回答 (5 件)

Alain Gibaud
Alain Gibaud 2017 年 8 月 29 日
編集済み: Walter Roberson 2017 年 9 月 20 日
Here is the message
License checkout failed.
License Manager Error -5
Cannot find a license for Optimization_Toolbox.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2016b/5
Diagnostic Information:
Feature: Optimization_Toolbox
License path: /Users/alaingibaud/Library/Application
Support/MathWorks/MATLAB/R2016b_licenses:/Applications/MATLAB_R2016b.app/licenses/license.dat:/Applications/MATLAB_R2016b.app/licenses/license_1100242_R2016b.lic
Licensing error: -5,357.

  0 件のコメント

サインイン to comment.


Adam Lu
Adam Lu 2018 年 4 月 29 日
I recently ran into the same error but only under a parfor loop. I had run the exact same code before and this only became a problem starting yesterday ...
If I type
findpeaks
I get:
Error using findpeaks (line 122)
Not enough input arguments.
which shows that the Signal Processing Toolbox can be accessed. However, if I type
parfor i=1:2 ; findpeaks; end
I get:
License checkout failed.
License Manager Error -5
Cannot find a license for Signal_Toolbox.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2017b/5
Diagnostic Information:
Feature: Signal_Toolbox
License path:
/home/adam/.matlab/R2017b_licenses:/usr/local/MATLAB/R2017b/licenses/license.dat:/usr/local/MATLAB/R2017b/licenses/network.lic
Licensing error: -5,0.
Therefore this "license error" only occurs inside a parfor loop. Why is that?

  0 件のコメント

サインイン to comment.


Tech Support
Tech Support 2018 年 5 月 2 日
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

  0 件のコメント

サインイン to comment.


LH
LH 2018 年 5 月 3 日
編集済み: LH 2018 年 5 月 3 日
I have the same problem with "Image Processing Toolbox" in a parallel function ! This used to work fine before our IT department updated the license several days ago.
I tried the exact same code as Adam Lu with a function from Image Processing Toolbox instead and I get the license error only in the parfoor loop.

  1 件のコメント

Tech Support
Tech Support 2018 年 5 月 3 日
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

サインイン to comment.


Ian Gerolamo
Ian Gerolamo 2019 年 6 月 13 日
I'm having the same problem, I'm trying to get in touch with MathWorks support, but nobody answers me. I really need to solve this problem. Can someone help me?
License checkout failed.
License Manager Error -5
Cannot find a license for Fixed_Point_Toolbox.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019a/5
Diagnostic Information:
Feature: Fixed_Point_Toolbox
License path:

  1 件のコメント

Colin Fraser
Colin Fraser 2019 年 6 月 19 日
Hi,
If you are still experiencing this issue, please contact MathWorks support:
We need more information to troubleshoot your issue further, such as a license number.
-Colin

サインイン to comment.

サインイン してこの質問に回答します。

タグ

タグが未入力です。

製品


リリース

R14SP2

Translated by