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

2 visualizaciones (últimos 30 días)

Respuesta aceptada

Voss
Voss el 29 de Nov. de 2022
Editada: Voss el 29 de Nov. de 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);

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by