In multiple-execution scenarios, is the timer only looking for its own callback or for any other callback in the execution queue, in MATLAB 8.2 (R2013b)?

2 ビュー (過去 30 日間)
The following link of documentation:
says in the introduction:
"the timer may need to add the timer callback function (TimerFcn) to the MATLAB execution queue before the previously queued execution of the callback function has completed. "
This statement could be interpreted as: ' the timer only checks if his own callback is already in the event queue'
The following paragraph says : "If you specify 'drop' as the value of the BusyMode property, the timer object adds the timer callback function to the execution queue only when the queue is empty. If the execution queue is not empty, the timer object skips the execution of the callback."
Which instead might suggest that: 'the timer callback is dropped if *any* function is in the queue'.
Therefore, which of the two possible interpretations is correct? Does it check for any callback or just for its own?

採用された回答

MathWorks Support Team
MathWorks Support Team 2021 年 3 月 1 日
編集済み: MathWorks Support Team 2021 年 2 月 24 日
The timer is only checking for its own function being executed, not any other callback, or callbacks from other timers.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by