matlab batch stopped in the backend
조회 수: 1 (최근 30일)
이전 댓글 표시
I started a batch cmd as below
job5 = batch(@getHighFreqData, 1, {5}, 'Profile', 'local');
When I locked my computer and left the office, the job5 stopped working, when I unlocked the pc the 2nd day, the job5 continues to work.
Seems the job5 is only working when someone is using the pc, any ideas why? Definitely I want the job run during night.
Thanks.
댓글 수: 0
답변 (2개)
Jan
2013년 4월 19일
Then the computer must not fall asleep. If you are working under Windows, you can use FEX: WinPower. The operating system offers such controls also.
Jason Ross
2013년 4월 19일
The 'local' scheduler uses the local machine's cores to process the job. If the machine falls asleep or hibernates, the job processing will stop.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!