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

Jan
Jan 2019년 7월 23일
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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Ron Mani
Ron Mani 2019년 7월 23일
편집: Jan 2019년 7월 24일

0 개 추천

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 2019년 7월 23일

0 개 추천

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

Ron Mani
Ron Mani 2019년 7월 24일
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 2019년 7월 24일
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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2019a

태그

질문:

2019년 7월 23일

편집:

Jan
2019년 7월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by