MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuale Utente Pagina 50

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 49
3 Creating a GUI Programmatically
3-2
The Example: Simple GUI
This chapter shows you how to write a script that creates the example
graphical user interface (GUI) 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, each od which provides a different kind of plot: 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 push buttons. Clicking the button triggers the execution of
a callback that plots the selected data in the axes.
The next topic, “Function Summary” on page 3-4, summarizes the functions
used to create this example GUI.
axes
push buttons
static text
pop-up menu
Vedere la pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 329 330

Commenti su questo manuale

Nessun commento