How to pause, resume and abort a GUI from another GUI?

3 vues (au cours des 30 derniers jours)
Sarah Ghosh
Sarah Ghosh le 9 Juil 2013
I have created a GUI using GUIDE. It has a lot of pushbuttons and hence a lot of callback functions. When I am in one particular callback, I want to load another GUI figure with 3 buttons: Pause, Resume and Abort.I have created the 2 GUIs with the names main.m and PauseResAbort.m .In the callback for the pause button (in the PauseResAbort file), I have written: waitfor(handles.resume,'value',1); where, resume is the Resume Button. But this does not pause the main GUI. Moreover, I am not running a loop. So, I cannot figure out any other way to pause the program.
Thanks in advance for any help.
  1 commentaire
Hari
Hari le 9 Juil 2013
what u r running in main gui? sorry question is not clear..........

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps 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