How to input the image as input to the GUI.?

1 visualizzazione (ultimi 30 giorni)
How to input the image as input to the GUI.?

Risposta accettata

Walter Roberson
Walter Roberson il 24 Apr 2017
[filename, pathname] = uigetfile('*.png', 'Select an image?');
if ~ischar(filename); return; end %user cancelled
filepath = fullfile(pathname, filename);
Img = imread(filepath);

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by