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 Kommentare

KSSV
KSSV am 9 Jan. 2022
Provide the full path where the image is in.
new_user
new_user am 9 Jan. 2022
okay

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Rishabh Singh
Rishabh Singh am 12 Jan. 2022

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by