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

3 ビュー (過去 30 日間)
Preeti Singh
Preeti Singh 2013 年 6 月 18 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by