MATLAB Creating Graphical User Interfaces

(ff) #1

  • If you want to set the position or size of the component to an exact value, then modify
    its Position property.

  • You can specify a text font, including its FontName, FontWeight, FontAngle,
    FontSize, and FontUnits properties. For details, see the previous topic, “Edit Text”
    on page 6-27, and for a programmatic approach, the section “How to Set Font
    Characteristics” on page 9-22.


Pop-Up Menu


To create a pop-up menu (also known as a drop-down menu or combo box) with items
one, two, three, and four, as shown in this figure:



  • Specify the pop-up menu items to be displayed by setting the String property to the
    desired items. Click the


button to the right of the property name to open the Property Inspector editor.

Add Components to the GUIDE Layout Area
Free download pdf