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

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??

 採用された回答

Dishant Arora
Dishant Arora 2013 年 6 月 18 日

0 投票

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/

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by