MATLAB crashes when plotting many figures

9 views (last 30 days)
Runbo Gao
Runbo Gao on 1 Dec 2021
Commented: Voss on 1 Dec 2021
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.

Sign in to comment.

Answers (0)


Community Treasure Hunt

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

Start Hunting!