Running a script in a repeated time interval

7 views (last 30 days)
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??

Accepted Answer

Star Strider
Star Strider on 18 Nov 2017
Experiment with the Timer Class (link) objects. They are the only options I’m aware of.

More Answers (1)

Walter Roberson
Walter Roberson on 18 Nov 2017

Categories

Find more on Files and Folders in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!