GUI help
조회 수: 2 (최근 30일)
이전 댓글 표시
please get me a simple example of a GUIDE created gui!How do i display images in the gui using 'uigetfile'/uigetdir??
댓글 수: 0
채택된 답변
Aurelien Queffurust
2012년 6월 8일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!