User`s guide
12 Code a Programmatic GUI
• Properties that you can set to control many aspects of axes behavior and
appearance, see “Axes Objects — Defining Coordinate Systems for Graphs”.
• Creating axes in a tiled pattern, see the
subplot function reference page.
Program ActiveX Controls
For information about programming ActiveX controls, see:
• “Responding to Events — an Overview”
• “Writing Event Handlers”
See “MATL AB CO M Client Support” for general information.
Note ActiveX controls do not expose a resizing method. If you are creating
a GUI with ActiveX controls and want both the GUI and the controls to be
resizable, you can use the resizing technique described in “Example — Using
Internet Explorer Program in a MATLAB Figure”.
Program Menu Items
• “Program a Menu Title” on p age 12-34
• “Open a Dialog Box from a Menu Callback” on page 12-36
• “Update a Menu Item Check” on page 12-36
Program a Menu Title
Because clicking a menu title automatically displays the menu below it, you
may not need to program callbacks at the t itle lev el. However, th e callback
associatedwithamenutitlecanbeagoodplacetoenableordisablemenu
items below it.
Consider the example illustrated in the follow ing picture.
12-34