GUI help

4 Ansichten (letzte 30 Tage)
debasish
debasish am 8 Jun. 2012
please get me a simple example of a GUIDE created gui!How do i display images in the gui using 'uigetfile'/uigetdir??

Akzeptierte Antwort

Aurelien Queffurust
Aurelien Queffurust am 8 Jun. 2012
I assume that you have already created with GUIDE an axes and a pushbutton which calls uigetfile let's say that you have picked from uigetfile the file flowers.tif :
you could write :
axes(handles.axes1); % axes1 is by default the tag of the axis created with GUIDe
Im=image(imread('flowers.tif'))

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by