How call another GUI window on push button event??

17 vues (au cours des 30 derniers jours)
Tanesh Kumar Kevlani
Tanesh Kumar Kevlani le 10 Mai 2012
Commenté : Loucif Riadh le 4 Juil 2020
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 commentaire
Jan
Jan le 10 Mai 2012
What exactly does "calling a window" mean?

Connectez-vous pour commenter.

Réponses (1)

Ines laz
Ines laz le 10 Mai 2012
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!

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by