MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 326

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 500
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 499 500

Commentaires sur ces manuels

Pas de commentaire