Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Mohammed Alarfaj
Mohammed Alarfaj am 19 Apr. 2022
Beantwortet: Abhishek am 5 Jul. 2023
Hi there,
I had the following error message: Unrecognized function or variable 'computeVocabularyFromImageList'.
What can I do?
  1 Kommentar
Kautuk Raj
Kautuk Raj am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by