Undefined function 'adaptcluster_kmeans' for input arguments of type 'uint8
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Nurul Balqis Khairul Anuar
el 29 de Jun. de 2022
Comentada: Nurul Balqis Khairul Anuar
el 29 de Jun. de 2022
Hi expert,
I got this error,
Undefined function 'adaptcluster_kmeans' for input arguments of type 'uint8'.
Error in Untitled (line 21)
m=adaptcluster_kmeans(x);
this is my code:

i already check image processing toolbox and its already has licence for toolbox. Please help me,, thank you in advance
0 comentarios
Respuestas (1)
Walter Roberson
el 29 de Jun. de 2022
That function is not part of MATLAB. You need to install https://www.mathworks.com/matlabcentral/fileexchange/45057-adaptive-kmeans-clustering-for-color-and-gray-image
3 comentarios
Walter Roberson
el 29 de Jun. de 2022
You should have used the Add-On Explorer to have MATLAB install that File Exchange contribution, after which you would be able to call upon it as if it had been supplied by Mathworks.
You should not have copied the code into your own script.
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!