MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Betriebsanweisung Seite 94

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 759
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 93
4 What Is GUIDE?
GUIDE: Getting Started
In this section...
“GUI Layout” on page 4-2
“GUI Programming” on page 4-2
GUI Layout
GUIDE, the MATLAB graphical user interface development environment,
provides a se t of tools for creating graphical user interfaces (GUIs). These
tools simplify the process of laying out and programming GUIs.
Using the GUIDE Layout Editor, you can populate a GUI by clicking and
dragging GUI components—such as axes, panels, buttons, text fields, sliders ,
andsoonintothelayoutarea. Youalsocancreatemenusandcontext
menus for the GUI. From the Layout Editor, you can size the GUI, modify
component look and feel, align components, set tab order, view a hierarchical
list of the component objects, and set GUI options.
GUI Programming
GUIDE automatically generates a program file containing M ATLAB functions
that controls how the GUI operates. This code file provides code to initialize
the G UI and contains a framework for the GUI callbacks—the routines that
execute when a user interacts with a GUI com ponent. Use the MATLAB
Editor to add code to the callbacks to perform the actions you want the GUI
to perform.
Note MATLAB software provides a selection of standard dialog boxes
that you can create with a single function call. For an example, see the
documentation for
msgbox, which also provides links to functions that create
specia lized predefine d di alog boxes.
4-2
Seitenansicht 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 758 759

Kommentare zu diesen Handbüchern

Keine Kommentare