GUI help

4 次查看(过去 30 天)
debasish
debasish 2012-6-8
please get me a simple example of a GUIDE created gui!How do i display images in the gui using 'uigetfile'/uigetdir??

采纳的回答

Aurelien Queffurust
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'))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by