Specifications
3 Laying Out GUIs and Setting Properties
3-8
To restore access to other MATLAB windows once a button is clicked, add the
following command to callbacks for both the
Yes and No push buttons:
uiresume(handles.figure1);
The GUI is also modal, which means that the user cannot interact with other
MATLAB windows until clicking one of the buttons. See “Using Modal Figure
Windows” on page 4-38 for more information on making a GUI modal.
Select this template if you want your GUI to return a string or to be modal.
See “Example: Using the Modal Dialog to Confirm an Operation” on page 4-40
for an example of using this template with another GUI.