Running a script in a repeated time interval
显示 更早的评论
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??
采纳的回答
更多回答(1 个)
Walter Roberson
2017-11-18
0 个投票
You can use a timer(). See https://www.mathworks.com/help/matlab/matlab_prog/use-a-matlab-timer-object.html
类别
在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!