switch when the clock is on point

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile 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