MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelská příručka Strana 513

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 759
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 512
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
Zobrazit stránku 512
1 2 ... 508 509 510 511 512 513 514 515 516 517 518 ... 758 759

Komentáře k této Příručce

Žádné komentáře