How to input the image as input to the GUI.?
1 view (last 30 days)
Show older comments
NAVEEN KUMAR
on 24 Apr 2017
Answered: Walter Roberson
on 24 Apr 2017
How to input the image as input to the GUI.?
0 Comments
Accepted Answer
Walter Roberson
on 24 Apr 2017
[filename, pathname] = uigetfile('*.png', 'Select an image?');
if ~ischar(filename); return; end %user cancelled
filepath = fullfile(pathname, filename);
Img = imread(filepath);
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!