MATLAB Answers

Running a script in a repeated time interval

44 views (last 30 days)
AA
AA on 18 Nov 2017
Answered: Star Strider on 18 Nov 2017
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 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by