MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 70

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 69
3 How to Create a Simple GUI Programmatically
About the Simple Programmatic GUI Example
Simple Programmatic GUI Components
This section shows you how to write MATLAB code that creates the example
graphical user interface (GUI) shown in the following figure.
The GUI contains
An axes
A pop-up menu listing three data sets that correspond to MATLAB
functions:
peaks, membrane,andsinc
A static text component to label the pop-up menu
Three push buttons, each o f which provides a d ifferent 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.
3-2
Vedere la pagina 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 758 759

Commenti su questo manuale

Nessun commento