unable to load data from path

3 views (last 30 days)
new_user
new_user on 9 Jan 2022
Answered: Rishabh Singh on 12 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 Comments
KSSV
KSSV on 9 Jan 2022
Provide the full path where the image is in.

Sign in to comment.

Accepted Answer

Rishabh Singh
Rishabh Singh on 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.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!