MATLAB crashes when plotting many figures

조회 수: 12 (최근 30일)
Runbo Gao
Runbo Gao 2021년 12월 1일
댓글: Voss 2021년 12월 1일
I was trying to plot hundreds of figures in for loops. MATLAB can run pretty well at the begining but it suddenly crashes without generating any error. It just shuts down without any signs. The figure that crashes MATLAB is corrupted with 0 kb in size. Additionally, the corrupted figure can be different when eveytime I try to run the code. I notice that whenever MATLAB shuts down, the GPU 3D rises to 100% rapidly (stays at 20% when matlab is running well), drops dramatically to 0% and then goes back to normal. My GPU is intel® UHD Graphics 630. CPU and memory are fine when matlab shuts down.
  댓글 수: 5
Runbo Gao
Runbo Gao 2021년 12월 1일
Problem solved!
The problem was related to the internet connection. Initially, figures were saved on a network drive, so the Internet was required when saving figures. But somehow my network connection was not stable all the time, MATLAB crashed under the circumstance that it was trying to save figures and the Ethernet send & receive speed went to 0 kbps coincidentally (perhaps because of that, GPU 3D went to 100% at the same time, but I really don't know why).
Now, I save all the figures locally, and everything works perfectly.
Thank you very much for your patience and suggestions!
Voss
Voss 2021년 12월 1일
Excellent, glad it's working!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by