Matlab slows down when sleeping

조회 수: 15 (최근 30일)
Juan Young
Juan Young 2016년 8월 19일
댓글: Star Strider 2016년 8월 19일
Im running a program with thousands of iterations. Last night I was doing other stuff with my computer and the program did 4 or 5 cicles of these iterations in one hour or so. After that, I left the program running the whole night, and when I woke up it did barely seven and a half cicles. So, in something like 12 hours (in "standby" or whatever is called) it did the same job as in 1 or 2 hours no-standby. My question is, what is slowing down the process? If I deactivate the windows standby option it would work? And, if I do that, would it be too much for my computer?
Thanks

답변 (1개)

Star Strider
Star Strider 2016년 8월 19일
There’s no way that I know of to keep computers from sleeping while they’re running MATLAB scripts. (This has come up before, including requests for a ‘sleep’ function that could be set to turn the sleep mode off and then on again when your script completes.) Your only option is to manually set it to not sleep and then set it again when you want the computer to be able to sleep. So long as your computer has good air flow, letting it run all night should not be a problem.
  댓글 수: 2
Juan Young
Juan Young 2016년 8월 19일
Yeah but, is the "sleep" process that is causing the whole system to slow down?
Star Strider
Star Strider 2016년 8월 19일
That would be my guess. When it goes to sleep, as I understand it, everything actually stops. (There’s more to the process than that, but that’s the essence of it.)

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

카테고리

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