I am getting a license error
Show older comments
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 Comment
Jan
on 23 Jul 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.
Answers (2)
Walter Roberson
on 23 Jul 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 Comments
Ron Mani
on 24 Jul 2019
Walter Roberson
on 24 Jul 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
Categories
Find more on Introduction to Installation and Licensing 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!