Effacer les filtres
Effacer les filtres

Timer stop delay problem

1 vue (au cours des 30 derniers jours)
Julien
Julien le 26 Fév 2013
Hi Everybody,
I'm building a GUI that allow me to replay some bench datas. To do so, I have included a timer object that refresh the display.
I have a pause button that stops the timer and play button that runs the timer again (at the last time paused).
I also have a popup menu that allow me to select what datas I want to load. Pause and play button works fine and datas selection works fine if I pause the timer first.
The problem is that when I select an other data file without using the pause button, the timer stops after my callback function. Then, all datas modification is erased by previous ones, although in my callback I stop the timer before loading the datas.
Do you have any idea to solve the problem ? (wait function does not work with infinite taskToExecute property)
Thanks a lot for your help

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by