How to display an image,that a user selects during runtime, in a panel ??
10 views (last 30 days)
Show older comments
i have created a gui in which a user selects an image and i want to display that image in a panel. can anybody help me with the code for the same??
0 Comments
Accepted Answer
Dishant Arora
on 18 Jun 2013
Filename=uigetfile('*.jpg');
imshow(imread(Filename));
You need to go through Doug's GUI tutorial. That's really helpful. Here's the link http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!