MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 326

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 500
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 499 500

Komentáře k této Příručce

Žádné komentáře