Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Memory Leak in using "set" function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Jan
am 11 Mär. 2013
Please do not post questions twice. See: http://www.mathworks.com/matlabcentral/answers/66568-memory-leakage-set-function
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!