unable to load data from path

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 comentarios

KSSV
KSSV el 9 de En. de 2022
Provide the full path where the image is in.
new_user
new_user el 9 de En. de 2022
okay

Iniciar sesión para comentar.

 Respuesta aceptada

Rishabh Singh
Rishabh Singh el 12 de En. de 2022

0 votos

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.

Más respuestas (0)

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de En. de 2022

Respondida:

el 12 de En. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by