
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.
Comentarios a estos manuales