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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by