Matlab slows down when sleeping
13 ビュー (過去 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!