Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Sarah Ghosh
Sarah Ghosh am 9 Jul. 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 Kommentar
Hari
Hari am 9 Jul. 2013
what u r running in main gui? sorry question is not clear..........

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by