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

3 ビュー (過去 30 日間)
Sarah Ghosh
Sarah Ghosh 2013 年 7 月 9 日
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 件のコメント
Hari
Hari 2013 年 7 月 9 日
what u r running in main gui? sorry question is not clear..........

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by