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)?
0 件のコメント
採用された回答
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 件のコメント
Daniel Shub
2012 年 2 月 28 日
You may also want the -nodesktop and -nosplash startup options. You should also think about compiling your function.
その他の回答 (2 件)
Chris Coutinho
2015 年 3 月 24 日
I tried Friedrich's solution as well, and it works great. Thanks again.
Chris
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!