the Interruptible property of the object whose callback is executing is on, the callback can be interrupted. However, it is interrupted only when it, or a function it triggers, calls drawnow, figure, getframe, pause, or waitfor. Before performing their defined tasks, these functions process any events in the event queue, including any waiting callbacks. If the executing callback, or a function it triggers, calls none of these functions, it cannot be interrupted regardless of the value of its object's Interruptible property
Il est bien expliqué. Cependant, par exemple dans ton callback si tu as une boucle for qui se déclenche pour un certain nombre d'itération, il te suffit simplement d'ajouter à l'intérieur (de la boucle) la commande drawnow en veuillant à ce que la propriété "Interruptible" soit à "on".
Que penses-tu ?
Partager