User`s guide
Add Components to a Programmatic GUI
Add Components to a Programmatic GUI
In this section...
“Types of G UI Components” on page 11-9
“Add User Interface Controls to a Programmatic GUI” on page 11-13
“Add Panels and Button Groups” on page 11-32
“Add Axes” on page 11-38
“Add ActiveX Controls” on page 11-41
TypesofGUIComponents
Objects that you can include in a GUI include:
• User interface controls, such as push buttons and sliders
• Containers, such as panels and button groups
• Axes, to contain plots and images
• ActiveX controls (on Microsoft Window s platforms)
The following topics tell you how to populate your GUI with these components.
Note MATLAB software provides a selection of standard dialog boxes
that you can create with a single function call. For an example, see the
documentation for
msgbox, which also provides links to functions that create
specia lized predefine d di alog boxes.
The following table describes the available components and the function used
to create each. Subsequent topics provide specific information about adding
the components.
11-9