MATLAB crashes when plotting many figures
8 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!