Unrecognized function or variable 'computeVocabularyFromImageList'.
1 view (last 30 days)
Show older comments
Hi there,
I had the following error message: Unrecognized function or variable 'computeVocabularyFromImageList'.
What can I do?
1 Comment
Kautuk Raj
on 2 Jun 2023
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.
Answers (1)
Abhishek
on 5 Jul 2023
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.
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!