tags:

views:

27

answers:

1

Is there a matlab function to initiate a program at a preset time?

for example, I want to run the script runmyfile.m at 14h00 ?

+5  A: 

You can create a TIMER object that calls your code, and then use the STARTAT function to launch your script at a given time.

For example, if you want to run a script called runmyfile.m:

t1=timer('TimerFcn','runmyfile');
startat(t1,'14:00:00');
Jonas

related questions