why when i import an image from my desktop the error says it doesnt exist plz help and thank u in advance

2 Ansichten (letzte 30 Tage)

Akzeptierte Antwort

Voss
Voss am 29 Nov. 2022
Bearbeitet: Voss am 29 Nov. 2022
Use both output arguments from uigetfile to construct the full path name of the file:
[filename,pathname] = uigetfile();
fullfilename = fullfile(pathname,filename);
a = imread(fullfilename);

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by