automatic Matlab to run each 10 min

조회 수: 3 (최근 30일)
Niki
Niki 2013년 7월 19일
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
Daniel Shub
Daniel Shub 2013년 7월 19일
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
Niki 2013년 7월 19일
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

댓글을 달려면 로그인하십시오.

답변 (2개)

Sean de Wolski
Sean de Wolski 2013년 7월 19일
doc timer
From within MATLAB if you want to use the same session.

Daniel Shub
Daniel Shub 2013년 7월 19일
You could do
while true
myfunc;
pause(10*60);
end

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by