필터 지우기
필터 지우기

process stops and resumes--computer not set to sleep

조회 수: 9 (최근 30일)
Victoria Klimaj
Victoria Klimaj 2013년 9월 21일
댓글: Zeina abd 2018년 10월 30일
Hi,
I've been running SPM preprocessing in Matlab, and have noticed that when I run it overnight, significantly fewer files get preprocessed than I expect. I assume the process pauses, then resumes where it left off when I move my mouse again to check on it in the morning (although whenever I look at it, it's always running, so it's possible the resuming is taking place earlier). I'm running it on an external drive with a new Macbook Pro.
These are the energy saver preferences I have set up on my mac (under "power adapter" as it is always plugged in):
computer set to sleep: never
display set to sleep: 3 min
put hard disks to sleep when possible: no
wake for wifi network access: yes
enable power nap while plugged into adapted: no
Does anyone know what the issue might be? A Matlab problem, or a Mac problem?
Thanks!
-Victoria
  댓글 수: 1
Zeina abd
Zeina abd 2018년 10월 30일
Hey,
I have the same problem with windows 10, do you have any clue to how i have resolve it?
Thanks!! Zeina.

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

채택된 답변

Jan
Jan 2013년 9월 21일
편집: Jan 2013년 9월 21일
You can use many different ways to disable sleeping temporarily. One is to start Matlab through caffeinate, such that sleeping is disabled as long as Matlab runs. Type this in the OS-shell with "matlab" is the command used to start Matlab:
caffeinate matlab
I'm not sure, what happens, if you type this in Matlab's command line:
!caffeinate
The sleep timers are disabled, but when they are re-enabled?
An alternative is running pmset noidle from a shell window. To stop this, activate the shell window and type Ctrl-C. Jiggler and Caffein might be useful also, or InsomniaX. Did you asked your favorite internet search engine already?
  댓글 수: 1
Zeina abd
Zeina abd 2018년 10월 30일
Hey,
I have the same problem with windows 10, do you have any clue to how i have resolve it?
Thanks!! Zeina.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Purple에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by