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

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by