Unrecognized function or variable 'computeVo​cabularyFr​omImageLis​t'.

조회 수: 1 (최근 30일)
Mohammed Alarfaj
Mohammed Alarfaj 2022년 4월 19일
답변: Abhishek 2023년 7월 5일
Hi there,
I had the following error message: Unrecognized function or variable 'computeVocabularyFromImageList'.
What can I do?
  댓글 수: 1
Kautuk Raj
Kautuk Raj 2023년 6월 2일
The error indicates that the function or variable is not defined in your MATLAB workspace or in any of the MATLAB search paths. You might want to add the directory containing the function or variable to the MATLAB search path using the addpath function and try again.

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

답변 (1개)

Abhishek
Abhishek 2023년 7월 5일
Hi Mohammed Alarfaj,
If you get the error message "Unrecognized function or variable 'computeVocabularyFromImageList'" in MATLAB, it means that MATLAB cannot find the function or variable you are trying to use. To resolve this issue you can try out following methods :
1. If the computeVocabularyFromImageList definition is missing, you must import or add the necessary code to your MATLAB environment. This may include adding relevant MATLAB files. Copy to your current MATLAB project or directory. Check the function or variable name, whether it is present in your code.
2. Make sure the function or variable is within the scope of the current MATLAB script or function. If defined in another MATLAB file or script, you may need to add appropriate import statements or call the file containing the definition.
3. If you recently added or changed code that defines computeVocabularyFromImageList , try refreshing your MATLAB environment. To do this, either restart MATLAB or use the "clear all" command to clear all variables and functions from the workspace.
By following above methods, you should be able to resolve your issues.

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by