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 ?
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');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With