KDTreeSearcher cannot be recognized.

Hi
I use the command KDTreeSearcher in matlab 2018b before, everything is OK, but when I tried to use the same command in matlab 2021a, it reports an error : the function or variable of KDTreeSearcher cannot be recognized. How to solve this problem?
Best,
Xuemin Chi

3 个评论

You need the Statistics and Machine Learning Toolbox
Thank you sooo much! It works now!
I also have this problem

请先登录,再进行评论。

回答(1 个)

xveqing
xveqing 2024-4-15
You should install the "Statistics and Machine Learning Toolbox" to use KDTreeSearcher

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

R2021a

回答:

2024-4-15

Community Treasure Hunt

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

Start Hunting!

Translated by