MATLAB Creating Graphical User Interfaces

(Barry) #1
Add Components to the GUIDE Layout Area

To display the & character in the title, use two & characters in the string. The words
remove, default, and factory (case sensitive) are reserved. To use one of these as a
label, prepend a backslash (\) to the string. For example, \remove yields remove.


  • Specify the location of the panel title by selecting one of the available
    TitlePosition property values from the pop-up menu, in this case lefttop. You
    can position the title at the left, middle, or right of the top or bottom of the panel.

  • If you want to set the position or size of the panel to an exact value, then modify its
    Position property. See “Locate and Move Components” on page 6-74 and “Resize
    GUIDE UI Components” on page 6-67 for details.


NoteFor more information and additional tips and techniques, see “Add a Component
to a Panel or Button Group” on page 6-20 and the uipanel documentation.
Free download pdf