unable to load data from path

3 ビュー (過去 30 日間)
new_user
new_user 2022 年 1 月 9 日
回答済み: Rishabh Singh 2022 年 1 月 12 日
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 件のコメント
KSSV
KSSV 2022 年 1 月 9 日
Provide the full path where the image is in.
new_user
new_user 2022 年 1 月 9 日
okay

サインインしてコメントする。

採用された回答

Rishabh Singh
Rishabh Singh 2022 年 1 月 12 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by