MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Spécifications Page 119

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 180
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 118
Types of Callbacks
4-19
WindowButtonUpFcn – MATLAB executes the specified callback when users
release the mouse button, after having pressed the mouse button within the
figure.
Which Callback Executes
Clicking on an enabled uicontrol prevents any ButtonDownFcn and
WindowButtonDownFcn callbacks from executing. If you click on an inactive
uicontrol, figure, or other graphics objects having callbacks defined, MATLAB
first executes the
WindownButtonDownFcn of the figure (if defined) and then the
ButtonDownFcn of the object targeted by the mouse click.
Adding A Callback
To add a callback subfunction to your application M-file, click the right mouse
button while the object is selected to display the Layout Editor context menu.
Select the desired callback from the context menu and GUIDE adds the
subfunction stub to the application M-file.
Vue de la page 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 179 180

Commentaires sur ces manuels

Pas de commentaire