Clear Filters
Clear Filters

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

1 view (last 30 days)
Hi there,
I had the following error message: Unrecognized function or variable 'computeVocabularyFromImageList'.
What can I do?
  1 Comment
Kautuk Raj
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.

Sign in to comment.

Answers (1)

Abhishek
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.

Categories

Find more on Search Path in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!