Running a script in a repeated time interval
조회 수: 14 (최근 30일)
이전 댓글 표시
I have a matlab file which i saved as sos.m. I run this script by clicking the run button in the matlab program. My question is that I want matlab to automatically run this script every 30 minutes without me having to physically click on the run button. is there an easy code for this??
댓글 수: 0
채택된 답변
추가 답변 (1개)
Walter Roberson
2017년 11월 18일
You can use a timer(). See https://www.mathworks.com/help/matlab/matlab_prog/use-a-matlab-timer-object.html
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!