필터 지우기
필터 지우기

calling another gui /window from one push_button(or any other tool from gui).

조회 수: 2 (최근 30일)
sweta arya
sweta arya 2015년 10월 13일
답변: Varun Pai 2015년 10월 15일
calling another gui /window from one push_button(or any other tool from gui).
  댓글 수: 2
Adam
Adam 2015년 10월 13일
What about it? It is usual to actually ask a question if you want a useful answer.
sweta arya
sweta arya 2015년 10월 15일
how to call another gui by clicking push button on gui.

댓글을 달려면 로그인하십시오.

답변 (1개)

Varun Pai
Varun Pai 2015년 10월 15일
Dear Sweta,
I can give you one solution for the same. Assume that you are having 2 pushbuttons 1 and 2. You are triggering pushbutton 1 which calls pushbutton 2 and and an image is displayed on the axes.
function pushbutton1_Callback(hObject,eventdata,handles)
pushbutton2_Callback(hObject, eventdata, handles);
guidata(hObject, handles);
function pushbutton2_Callback(hObject,eventdata,handles)
axes(handles.axes1);
im = imread('cameraman.tif');
imshow(im);
guidata(hObject, handles);
You can control any other gui functions like this.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by