MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 50

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 329 330

Commentaires sur ces manuels

Pas de commentaire