I am getting a license error

I am getting a license error for this line of code
[cluster_idx, cluster_center] = kmeans(ab,nColors,...
'distance', 'sqEuclidean', ...
'Replicates', 3);
I have purchase the following licenses
MATLAB31 Jul 20201
Computer Vision Toolbox
Image Acquisition Toolbox
Image Processing Toolbox
Parallel Computing Toolbox
What other licenses do I need?

1 commentaire

Jan
Jan le 23 Juil 2019
Please be so kind to post the error message.
We are currently at Matlab 9.6. If you have bought Matlab 31 in the July 20201, you are coming from the future. I think, that license problems can be expected in such cases.

Connectez-vous pour commenter.

Réponses (2)

Ron Mani
Ron Mani le 23 Juil 2019
Modifié(e) : Jan le 24 Juil 2019

0 votes

I bought the license couple of weeks ago, version 2019a
Diagnostic Information:
Feature: Statistics_Toolbox
License path:
C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB\R2019a_licenses\license_DESKTOP-5CHOI4V_xxxxxxxxxxx_R2019a.lic;C:\Program
Files\MATLAB\R2019a\licenses\license.dat;C:\Program Files\MATLAB\R2019a\licenses\trial_xxxxxxxxxxx_R2019a.lic
Licensing error: -10,32.
Error in ImageProcess_2x (line 26)
[cluster_idx, cluster_center] = kmeans(ab,nColors,...
Walter Roberson
Walter Roberson le 23 Juil 2019

0 votes

https://www.mathworks.com/matlabcentral/answers/93260-why-do-i-receive-license-manager-error-10
Notice the trial license in your list, the last one. That trial has expired. You should delete that file.
I suspect that you might then encounter error -5 which would be Feature not licensed. If so make sure you have the latest license for your system installed.

2 commentaires

Ron Mani
Ron Mani le 24 Juil 2019
I bought all these licenses few days ago. What license I am missing to get this error?
Thanks
Product Service End Date Count
MATLAB 31 Jul 2020 1
Computer Vision Toolbox 31 Jul 2020 1
Image Acquisition Toolbox 31 Jul 2020 1
Image Processing Toolbox 31 Jul 2020 1
Parallel Computing Toolbox 31 Jul 2020 1
Walter Roberson
Walter Roberson le 24 Juil 2019
Notice that your license path includes trial_6213819_R2019a.lic which is the license for your expired trial. You need to delete that file.
kmeans needs the Statistics and Machine Learning toolbox

Connectez-vous pour commenter.

Catégories

Produits

Version

R2019a

Question posée :

le 23 Juil 2019

Modifié(e) :

Jan
le 24 Juil 2019

Community Treasure Hunt

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

Start Hunting!

Translated by