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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 330
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 66
Running the Final GUI
3-19
end
end
% Push button callbacks. Each callback plots current_data in the
% specified plot type.
function surfbutton_Callback(source,eventdata)
% Display surf plot of the currently selected data.
surf(current_data);
end
function meshbutton_Callback(source,eventdata)
% Display mesh plot of the currently selected data.
mesh(current_data);
end
function contourbutton_Callback(source,eventdata)
% Display contour plot of the currently selected data.
contour(current_data);
end
end
Running the GUI
1 Run the simple GUI by typing the name of the M-file at the command line.
simple_gui
Vista de página 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 329 330

Comentários a estes Manuais

Sem comentários