unable to load data from path

6 visualizaciones (últimos 30 días)
new_user
new_user el 9 de En. de 2022
Respondida: Rishabh Singh el 12 de En. de 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 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
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 Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by