hanging the program of drawing shapes
Show older comments
hi dudes,
i have designed a GUI for drawing shaps (circle, rectangle, freehand,...) on an image. now i have a problem, when i draw more than 20 shape on image the program halt and i can't do anything with it just to close it and reopen it. i think it relates to the stacks in matlab and ram. but i'm not sure about it and even i don't know how to access it if it's right. can you help me?
thanks
Answers (1)
Friedrich
on 5 Aug 2011
0 votes
Hi,
since graphic in MATLAB is mostly done in JAVA I would guess that the JAVA Heap Space is too small. Try to increase the Java Heap Space of your MATLAB:
Categories
Find more on 2-D and 3-D Plots 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!