MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual de usuario Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
Initializing the GUI
3-13
set([f,hsurf,hmesh,hcontour,htext,hpopup],...
'Units','normalized');
%Create a plot in the axes.
current_data = peaks_data;
surf(current_data);
% Assign the GUI a name to appear in the window title.
set(f,'Name','Simple GUI')
% Move the GUI to the center of the screen.
movegui(f,'center')
% Make the GUI visible.
set(f,'Visible','on');
end
3 Run your script by typing simple_gui at the command line. This is what
your GUI should now look like.
The next topic, “Programming the GUI” on page 3-14, shows you how to
program the push buttons and pop-up menu so you can interactively
generate different plots in the axes.
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 329 330

Comentarios a estos manuales

Sin comentarios