How to display an image,that a user selects during runtime, in a panel ??

10 views (last 30 days)
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??

Accepted Answer

Dishant Arora
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)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!