필터 지우기
필터 지우기

hanging the program of drawing shapes

조회 수: 2 (최근 30일)
mary
mary 2011년 8월 5일
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

답변 (1개)

Friedrich
Friedrich 2011년 8월 5일
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:
  댓글 수: 2
mary
mary 2011년 8월 5일
tnx for your reply,
but it doesn't differ that much...
don't you have any other idea?
Friedrich
Friedrich 2011년 8월 5일
Mhh, without actual runable code its hard to tell whats can help here. Maybe choose a different renderer?
http://www.mathworks.com/help/releases/R2011a/techdoc/creating_plots/f3-84337.html#f3-102410

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

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by