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

  • 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 22
The Example: Simple GUI
2-3
The Example: Simple GUI
This chapter shows you how to use GUIDE to create the example graphical
user interface (GUI) which is shown in the following figure.
The GUI contains:
An axes
A pop-up menu listing three different data sets that correspond to MATLAB
functions:
peaks, membrane, and sinc
A static text to label the pop-up menu
Three push buttons that provide different kinds of plots: surface, mesh, and
contour
To use the GUI, the user selects a data set from the pop-up menu, then clicks
one of the plot-type buttons. Clicking the button triggers the execution of a
callback that plots the selected data in the axes.
Subsequent topics GUIDE you through the steps to create this GUI. We
recommend that you create the GUI for yourself, as this is the best way to learn
how to use GUIDE.
axes
push buttons
static text
pop-up menu
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 329 330

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

Žádné komentáře