Matlab R2010a crashing when trying to access the figure with visible off
1 view (last 30 days)
Show older comments
Hello All,
I am trying to run this script in which a lot of plots are created and since it is automated , to prevent a lot of plots from popping up I use following;
figure('Name', FigName,'Visible','off');
It does work fine for first few plots and then suddenly the software crashes with warning dialogue box asking me to close the program. - it does not generate dump file - java heap space is set to 2836 mb
Also when I run the same process in Matlab 2008 it runs fine without any errors. Thanks for your inputs in advance. Appreciate all your help. Vaibhav
2 Comments
Answers (1)
Jan
on 31 Oct 2012
Do you delete formerly created figures, or do you have hundreds or thousands of figures open at the same time?
Instead of creating many figures, you can create one and update its contents. This is much faster in addition, because opening a figure is very time-consuming.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!