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

1 次查看(过去 30 天)
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