How to automatically run a matlab function at a particular time every day?

19 次查看(过去 30 天)
Hi. I'd like to run a matlab function every day at 7am. Is there an easy way to do it (besides getting up early every morning)?

采纳的回答

Friedrich
Friedrich 2012-2-28
Hi,
in the case you are running Windows you can schedule a windows task:
So the task should start
matlab -r "your_mfile;quit"

更多回答(2 个)

Raymond
Raymond 2012-2-28
Thanks all. Since I use Windows, I tried out Friedrich's solution which works fine.

Chris Coutinho
Chris Coutinho 2015-3-24
I tried Friedrich's solution as well, and it works great. Thanks again.
Chris

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by