User`s guide

Compose and Code GUIs with Interactive Tools
'String',inputdlg('String','Static Text'),...
uisetfont,'Position',getrect)
The input dlg dialog box appears first, as shown here.
After you enter a string and click OK,theuise tfon t dialog box opens for you
to set font c haracteristics for displaying the string.
When you specify a font, style, and size and click OK,thegetrect function
executes (see “Sketch a Position Vector” on page 11-49). Drag out a rectangle
for the text component and release the mouse button. The result looks
something like this figure.
11-63