Matlab slows down when sleeping
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Star Strider
el 19 de Ag. de 2016
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 comentarios
Star Strider
el 19 de Ag. de 2016
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.)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!