Clear Filters
Clear Filters

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

1 view (last 30 days)
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 Comment
Hari
Hari on 9 Jul 2013
what u r running in main gui? sorry question is not clear..........

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!