MATLAB Creating Graphical User Interfaces

(ff) #1

  • The Position values updates as you move and resize components. The first two
    elements in the vector change as you move the component. The last two elements of
    the vector change as the height and width of the component change.

  • When no components are selected, the Position value displays the location and size of
    the figure.


Add a Component to a Panel or Button Group


To add a component to a panel or button group, select the component in the component
palette then move the cursor over the desired panel or button group. The position of the
cursor determines the component's parent.


GUIDE highlights the potential parent as shown in the following figure. The highlight
indicates that if you drop the component or click the cursor, the component will be a child
of the highlighted panel, button group, or figure.


Add Components to the GUIDE Layout Area
Free download pdf