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

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

Comentários a estes Manuais

Sem comentários