How call another GUI window on push button event??

조회 수: 17 (최근 30일)
Tanesh Kumar Kevlani
Tanesh Kumar Kevlani 2012년 5월 10일
댓글: Loucif Riadh 2020년 7월 4일
how can call another GUI window using this callback function.
"function pushbutton1_Callback(hObject, eventdata, handles)"
Another GUI window is already created. I only just want to call that window using this function....
Please help..........
  댓글 수: 1
Jan
Jan 2012년 5월 10일
What exactly does "calling a window" mean?

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

답변 (1개)

Ines laz
Ines laz 2012년 5월 10일
Hi!
just write the name of the second window,
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton21 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
window2
Good luck!

카테고리

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