Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Memory Leak in using "set" function

3 vues (au cours des 30 derniers jours)
Yavuz kaya
Yavuz kaya le 8 Mar 2013
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 commentaires
Yavuz kaya
Yavuz kaya le 9 Mar 2013
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 le 11 Mar 2013

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by