Main Content
uiwait
Block program execution and wait to resume
Description
uiwait
blocks execution until the uiresume
function is called or the current figure (gcf
) is deleted.
The uiwait
function blocks MATLAB® and Simulink® program execution. uiwait
also blocks the execution of
Simulink models.
uiwait(
blocks execution until the
f
)uiresume
function is called or the figure f
is
deleted. The figure can be one that is created with either the figure
or uifigure
function.
Use the uiwait
function with a modal dialog box to
block program execution and restrict user interaction to only the
dialog box until the user responds to it.
Examples
Input Arguments
More About
Version History
Introduced before R2006a