MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 70

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 758 759

Commentaires sur ces manuels

Pas de commentaire