unable to load data from path

7 vues (au cours des 30 derniers jours)
new_user
new_user le 9 Jan 2022
hi, I'm geting an issue with running a code for image retival in GUI.
Warning: File 'duck.jpg' is not on the MATLAB or specified path.
What can be the issue?
  2 commentaires
KSSV
KSSV le 9 Jan 2022
Provide the full path where the image is in.
new_user
new_user le 9 Jan 2022
okay

Connectez-vous pour commenter.

Réponse acceptée

Rishabh Singh
Rishabh Singh le 12 Jan 2022
Hi,
For reference consider reading "Files and Folders that MATLAB Accesses". The issue is that the image file is not present in the MATLAB path. Adding the file or the directory to the path or specifying the full path of the image will be the solution.

Plus de réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by