Resume execution of blocked program
uiresume(h) resumes the
program execution that
This example code creates a window containing a push button.
uiwait function blocks MATLAB® execution
until the user clicks the push button.
f = figure; h = uicontrol('Position',[20 20 200 40],'String','Continue',... 'Callback','uiresume(gcbf)'); disp('This will print immediately'); uiwait(gcf); disp('This will print after you click Continue'); close(f);
gcbf function returns the current figure.
block and resume MATLAB program execution. When creating a dialog
box, you should have a uicontrol component with a callback that calls
a callback that destroys the dialog box. These are the only methods
that resume program execution after the
When used in conjunction with a modal dialog box,
resume the execution of the program that
while presenting a dialog box.