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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 500
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 325
9 Examples of GUIDE UIs
9-80
To get and view the example code:
1
Copy the example FIG-file and code file to your current (writeable) folder and open
the FIG-file in GUIDE with the following commands:
copyfile(fullfile(docroot, 'techdoc','creating_guis','examples',...
'ex_guide_timergui*.*')), fileattrib('ex_guide_timergui*.*', '+w')
guide ex_guide_timergui.fig
2
From the GUIDE Layout Editor, click the Editor button .
The ex_guide_timergui.m code displays in the MATLAB Editor.
The following figures show the UI when you run it. The left figure shows the initial state
of the UI. The right figure shows the UI after running the timer for 5 seconds at its
default period of 1 count per second.
Vista de pagina 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 499 500

Comentarios a estos manuales

Sin comentarios