MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelská příručka Strana 70

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 759
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 758 759

Komentáře k této Příručce

Žádné komentáře