run a script at a certain time

10 views (last 30 days)
AA
AA on 16 May 2016
Answered: Steven Lord on 16 May 2016
is there a function to run a script lets say every day at 15:00 ? i just want an autoclicker or any other method to execute the script that i wrote.

Accepted Answer

Steven Lord
Steven Lord on 16 May 2016
There is the timer object, but I'd probably use the capability of your operating system to schedule a particular operation to run MATLAB with the -r option at a particular time. See for example the Wikipedia pages on Windows Task Scheduler and cron for more information.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!