automatic Matlab to run each 10 min
Afficher commentaires plus anciens
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 commentaires
Daniel Shub
le 19 Juil 2013
Do you want MATLAB to be open the whole time? If not, what OS are you using? How exact do you need the timing to be? How long does the calculation take? What should happen if there are errors?
Niki
le 19 Juil 2013
Réponses (2)
Sean de Wolski
le 19 Juil 2013
doc timer
From within MATLAB if you want to use the same session.
Daniel Shub
le 19 Juil 2013
You could do
while true
myfunc;
pause(10*60);
end
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!