MATLAB Answers

automatic Matlab to run each 10 min

4 views (last 30 days)
Niki
Niki on 19 Jul 2013
Dear,
I would like to ask matlab to perform the same calculation each 10 minute for example. do you know how to do so? for example,
each 10 minute, Load a marix , then perform a fucntion, then save the time and result
  2 Comments
Niki
Niki on 19 Jul 2013
Yes, I want it to be open for all the time lets say I want it start to load each 10 minute , do the calculation and then save it , then again over and over There will not be any error

Sign in to comment.

Answers (2)

Sean de Wolski
Sean de Wolski on 19 Jul 2013
doc timer
From within MATLAB if you want to use the same session.

Daniel Shub
Daniel Shub on 19 Jul 2013
You could do
while true
myfunc;
pause(10*60);
end

Tags

Community Treasure Hunt

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

Start Hunting!