Undefined function 'adaptcluster_kmeans' for input arguments of type 'uint8

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

Answers (1)

3 Comments

hi thank you for your reply. i tried to run those function and got this error
All functions in a script must be closed with an 'end'.
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.
okay noted, thanks for your big help. I can already run the code

Sign in to comment.

Categories

Products

Release

R2021a

Community Treasure Hunt

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

Start Hunting!