MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guia do Utilizador Página 70

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 759
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 758 759

Comentários a estes Manuais

Sem comentários