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

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 227
10 Examples of GUIDE GUIs
10-4
To create the default values, set the String property of the edit text. The
following figure shows the value set for the time vector.
Identifying the Axes
Since there are two axes in this GUI, you must be able to specify which one you
want to target when you issue the plotting commands. To do this, use the
handles structure, which contains the handles of all components in the GUI.
The field name in the
handles structure that contains the handle of any given
component is derived from the component’s
Tag property. To make code more
readable (and to make it easier to remember) this example sets the
Tag
property to descriptive names.
Zobrazit stránku 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 329 330

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

Žádné komentáře