필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Memory Leak in using "set" function

조회 수: 3 (최근 30일)
Yavuz kaya
Yavuz kaya 2013년 3월 8일
I am using windows7, and Matlab R2011b
I have created a GUI, which only contains one pushbutton and one editbox.
In the callback of the pushbutton I have the following script
for i=1:1:1000000
set(handles.edit1,'String',num2str(i))
drawnow
end
When I run the script and hit the pushbutton, the memory rising up to 1GB.
What cause the memory to rise? what am I missing?
  댓글 수: 3
Yavuz kaya
Yavuz kaya 2013년 3월 9일
I simply use Windows Task Manager to monitor the memory used by Matlab. It increase up to 1GB.
Any help on that issue will be greatly appreciated.
Jan
Jan 2013년 3월 11일

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by