How can I modify listener callback behavior depending on the source triggering event?
Afficher commentaires plus anciens
I'm using a listener on the 'YData' property of an imline child object. When the user moves the line, I want to change some variable and update the position of objects in other axes. The problem is that these other objects have their own callback functions that respond when the user changes their position. This leads to a bunch of callbacks bounding back and forth and invoking each other. What I'd like to do is only allow callbacks which the user triggers, and not allow those that would be triggered subsequently. Does anyone have any advice on how to achieve this?
Réponses (0)
Catégories
En savoir plus sur Events dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!