MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Bedienungsanleitung Seite 306

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 330
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 305
12 Examples of GUIs Created Programmatically
12-28
2 Data creation. Because the example uses nested functions, defining this
data at the top level makes the data accessible to all functions without
having to pass them as arguments.
3 Command line input processing.
4 GUI figure and component creation.
5 GUI initialization.
6 Return output if it is requested.
7 Callback definitions. These callbacks, which service the GUI components,
are subfunctions of the
colorPalette function and so have access to the
data and component handles created at the top level, without their having
to be passed as arguments.
8 Helper function definitions. These helper functions are subfunctions of the
colorPalette function and so have access to the data and component
handles created at the top level, without their having to be passed as
arguments.
Note For information about using nested functions, see Nested Functions in
the MATLAB documentation.
GUI Programming Techniques
This topic explains the following GUI programming techniques as they are
used in the creation of the colorPalette.
“Passing Input Arguments to a GUI” on page 12-29
“Passing Output to a Caller on Returning” on page 12-30
“Sharing Data Between Two GUIs” on page 12-30
See “Icon Editor” on page 12-33 for additional examples of these and other
programming techniques.
Seitenansicht 305
1 2 ... 301 302 303 304 305 306 307 308 309 310 311 ... 329 330

Kommentare zu diesen Handbüchern

Keine Kommentare