MATLAB Creating Graphical User Interfaces

(ff) #1

(^6) Select File > Save As.
(^7) In the Save As dialog box, in the File name field, type modaldlg.fig.
Create the Program That Opens the Dialog Box
Create a separate UI containing a Close button:
(^1) While still in GUIDE, select File > New.
(^2) In the GUIDE Quick Start dialog box, select Blank GUI (Default). Then, click OK.
(^3) From the component palette on the left, drag a push button into the layout area.
(^4) Right-click the push button and select Property Inspector.
(^5) In the Property Inspector, select the String property. Then, change the existing
value to Close. Then press Enter.
Modal Dialog Box in GUIDE

Free download pdf