User`s guide

Add Components to a Programmatic GUI
Foreground and background colors.
Row striping.
Row labels/numbers.
Column labels/numbers.
Column formats and widths.
Font characteristics.
Also, u itables have six callback functions that you can program.
You can set most uitable properties using the Table Property Editor that you
open from the Property Inspector instead of using the
set command. This
GUI l ets you set p roperties for table rows, columns, colors, and data.
See
uitable and uitable properties for complete documentation. For an
example o f a GUI containing a uitable, see “GUI that Displays and Graphs
Tabular Data” on page 15-19.
Push Button
The following statement creates a push button with handle pbh:
pbh = uicontrol(fh,'Style','pushbu tton','String','Button 1',...
'Position',[50 20 60 40]);
The first argument, fh, specifies the handle of the parent figure. You can also
specify the parent as a panel or button group. See “Panel” o n page 11-35 and
“Button Group” on page 11-36 for more information.
11-25