Undefined function 'adaptcluster_kmeans' for input arguments of type 'uint8
Mostrar comentarios más antiguos
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
Respuestas (1)
Walter Roberson
el 29 de Jun. de 2022
0 votos
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
Nurul Balqis Khairul Anuar
el 29 de Jun. de 2022
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.
Nurul Balqis Khairul Anuar
el 29 de Jun. de 2022
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!