MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 65

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 64
Program the Simple GUIDE GUI
3 Repeat steps 1 and 2 to add similar code to the Mesh and Contour push
button callbacks.
Add this code to the Mesh push button callback,
pushbutton2_Callback:
% Display mesh plot of the currently select ed data.
mesh(handles.current_data);
AddthiscodetotheContour push button callback,
pushbutton3_Callback:
% Display contour plot of the currently sel ected data.
contour(handles.current_data);
4 Save your code by selecting Save from the File menu.
Your GUI is ready to run. The next topic, “Open and Run the G UI” on page
2-36, tells you how to do that.
2-35
Vedere la pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 758 759

Commenti su questo manuale

Nessun commento