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!
  1 件のコメント
Loucif Riadh
Loucif Riadh 2020 年 7 月 4 日
Thanks Ines laz that's it!!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by