MATLAB Creating Graphical User Interfaces

(ff) #1

  • If you want to set the position and size of the component to exact values, then modify
    its Position property. The height of a pop-up menu is determined by the font size.
    The height you set in the position vector is ignored.


NoteThe pop-up menu does not provide for a label. Use a “Static Text” on page 6-29
component to label the pop-up menu.

List Box


To create a list box with items one, two, three, and four, as shown in this figure:


Add Components to the GUIDE Layout Area
Free download pdf