MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 513

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 512
1 2 ... 508 509 510 511 512 513 514 515 516 517 518 ... 758 759

Commentaires sur ces manuels

Pas de commentaire