How to automatically run a matlab function at a particular time every day?
조회 수: 7 (최근 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!