Why do both MATLAB and my computer freeze when I run long scripts?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Why do both MATLAB and my computer freeze when I run long scripts?
I have six MATLAB sessions running. When I am running long scripts, MATLAB slows the whole PC down to the point where the desktop and other applications become impossible to use. The computer seems to ignore the mouse and keyboard inputs. The problem goes away when the script is finished.
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 2009
This is due to MATLAB being single-threaded and using as large a percentage of the processing power as it can. As a potential workaround, you can put the command DRAWNOW in your loops or long scripts to allow MATLAB to handle pending events, like a Ctrl-C or figure/desktop refreshing.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Graphics Performance en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!