Why do both MATLAB and my computer freeze when I run long scripts?
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
채택된 답변
MathWorks Support Team
2009년 6월 27일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!