do timer callbacks all execute in the same thread
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Jeremy Hughes
2016-10-10
Hi Jim, The short answer is: Two timer callbacks cannot execute simultaneously.
Jeremy
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!