Matlab slows down when sleeping
12 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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 个评论
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 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!