Unrecognized function or variable 'findNearestNeighbors'. in R2020b

조회 수: 2 (최근 30일)
I get an error like this Unrecognized function or variable 'findNearestNeighbors'. while using findNearestNeighbors function. I have Computer Vision Toolbox and UAV toolbox is downloaded and installed. How can I solve this problem ?
  댓글 수: 2
Ameer Hamza
Ameer Hamza 2020년 10월 2일
What is the complete error message. What is the output of
which -all findNearestNeighbors
Emre Can Ertekin
Emre Can Ertekin 2020년 10월 2일
compete error message is "Unrecognized function or variable 'findNearestNeighbors'."
and output is ">> which -all findNearestNeighbors
'findNearestNeighbors' not found."

댓글을 달려면 로그인하십시오.

채택된 답변

Steven Lord
Steven Lord 2020년 10월 2일
findNearestNeighbors is a method of pointCloud objects. You must pass a pointCloud object into it as the first input argument. Both the documentation pages for the method in UAV Toolbox and in Computer Vision Toolbox state that the first input is a "Point cloud, specified as a pointCloud object."
Are you trying to call this method with a pointCloud as the first input or with something else as the first input? I suspect the latter.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by