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

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 216
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 156
Interrupting Executing Callbacks
4-37
2 If the event at the top of the queue calls for a figure window redraw,
MATLAB performs the redraw and proceeds to the next event in the queue.
3 If the event at the top of the queue would cause a callback to execute,
MATLAB determines whether the object whose callback is suspended is
interruptible.
4 If the callback is interruptible, MATLAB executes the callback associated
with the interrupting event. If that callback contains a
drawnow, figure,
getframe, pause, or waitfor command, MATLAB repeats these steps for the
remaining events in the queue.
5 If the callback is not interruptible, MATLAB checks the BusyAction
property of the object that generated the event.
a If BusyAction is queue, MATLAB leaves the event in the event queue.
b If BusyAction is cancel, MATLAB discards the event.
6 When all events have been processed (either left in the queue, discarded, or
handled as a redraw), MATLAB resumes execution of the interrupted
callback routine.
This process continues until the callback completes execution. When MATLAB
returns the prompt to the command window, all events have been processed.
Vue de la page 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 215 216

Commentaires sur ces manuels

Pas de commentaire