do timer callbacks all execute in the same thread

3 visualizaciones (últimos 30 días)
Jim Hokanson
Jim Hokanson el 10 de Oct. de 2016
Respondida: Jeremy Hughes el 10 de Oct. de 2016
I recently tried to start a timer, have the single-shot callback permanently execute, and then launch another timer further on down in the Matlab code. To my surprise, the 2nd timer never ran, even though the callback functions were different, suggesting that all timer callbacks execute in the same thread. Is this expected and documented behavior?

Respuestas (1)

Jeremy Hughes
Jeremy Hughes el 10 de Oct. de 2016
Hi Jim, The short answer is: Two timer callbacks cannot execute simultaneously.
Jeremy

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by