Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)

Risposta accettata

Voss
Voss il 29 Nov 2022
Modificato: Voss il 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);

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by