switch when the clock is on point

I want to put a condition when the clock changue the hour, i do that is bellow, but i want to know is there is other way to do this.
if minute(datetime('now'))== 12 && fix(second(datetime('now')))== 00
thanks

回答(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!

Translated by