Using a timer to execute a function
古いコメントを表示
So, I have a timer and I want to use the time to trigger an event. That is, at a certain time, I want a function (called OnFunc) to be executed.
when time_value == 10
OnFunc();
end
Is there a function analogous to a 'when' statement that can execute a command when the time reaches a certain point?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Clocks and Timers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!