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

 Respuesta aceptada

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/

Más respuestas (0)

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by