MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 341

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 500
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 340
Add Components to a Programmatic UI
10-9
Add Components to a Programmatic UI
In this section...
“User Interface Controls” on page 10-9
“Tables” on page 10-21
“Panels” on page 10-22
“Button Groups” on page 10-24
“Axes” on page 10-26
“ActiveX Controls” on page 10-28
“How to Set Font Characteristics” on page 10-28
User interface controls are common UI components, such as buttons, check boxes,
and sliders. Tables present data in rows and columns. Panels and button groups are
containers in which you can group together related elements in your UI. ActiveX
components enable you to display ActiveX controls.
User Interface Controls
“Push Button” on page 10-9
“Radio Button” on page 10-10
“Toggle Button” on page 10-11
“Check Box” on page 10-12
“Slider” on page 10-13
“Static Text” on page 10-15
“Editable Text Field” on page 10-16
“Pop-Up Menu” on page 10-18
“List Box” on page 10-19
Push Button
This code creates a push button:
f = figure;
pb = uicontrol(fh,'Style','pushbutton','String','Button 1',...
'Position',[50 20 60 40]);
Zobrazit stránku 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 499 500

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

Žádné komentáře