matlab batch stopped in the backend

3 vues (au cours des 30 derniers jours)
Fei
Fei le 19 Avr 2013
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.

Réponses (2)

Jan
Jan le 19 Avr 2013
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.
  1 commentaire
Fei
Fei le 7 Mai 2013
Thanks.

Connectez-vous pour commenter.


Jason Ross
Jason Ross le 19 Avr 2013
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.
  2 commentaires
Fei
Fei le 7 Mai 2013
Thanks. I disabled the "sleep" function and it solved my problem.
Fei
Fei le 13 Mai 2013
The windows should keep working if there is a matlab thread in the running status. Not sure how to set the parameters?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by