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 ExchangeIntroduction 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