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 Comments

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

Sign in to comment.

Answers (1)

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

Categories

Products

Release

R2021a

Asked:

on 2 Jun 2021

Answered:

on 15 Apr 2024

Community Treasure Hunt

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

Start Hunting!