MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual do Utilizador Página 50

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 330
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 329 330

Comentários a estes Manuais

Sem comentários