You can create a TIMER object that calls your code, and then use STARTAT to run your script at a specific point in time.
For example, if you want to run a script with the name runmyfile.m:
t1=timer('TimerFcn','runmyfile');
startat(t1,'14:00:00');
source
share