program timer

2 views (last 30 days)
Ahsan Khan
Ahsan Khan on 27 Mar 2012
hi there, im trying to run part of a program at a specific time. for example. i press F5 and run a program at say 12 noon; the program runs and reaches a loop and i want that loop to start at say 3pm. so the program would run and when it will reach that loop it will sit and wait until 3pm and when 3pm happens that loop is then initiated. ive tried to work with timer function but it seems too complicated to follow. any suggestions? thanx in advance cheers SN

Accepted Answer

Daniel Shub
Daniel Shub on 27 Mar 2012
The timer function is exactly what you want. If it seems too complicated, start at the beginning of the MATLAB documentation and by the time you get to timers, it will make sense.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!