My MATLAB gets sluggish over time so I have to keep restarting it
Ältere Kommentare anzeigen
My MATLAB gets sluggish over time so I have to keep restarting it. I think that when I'm running a heavy script quite a few times my computer's memory is not getting properly freed up after each one. Does anyone else get this?
3 Kommentare
Daniel Dolan
am 6 Apr. 2012
What operating system are you using?
Tom
am 8 Apr. 2012
Matt Fig
am 2 Nov. 2012
Tom's question
My MATLAB gets sluggish over time so I have to keep restarting it. I think that when I'm running a heavy script quite a few times my computer's memory is not getting properly freed up after each one. Does anyone else get this?
Akzeptierte Antwort
Weitere Antworten (2)
douglas
am 6 Apr. 2012
maybe write
clear all
close all
clc
at the beginning of your script to ensure you dont have a ton of variables or figures open in the background.
2 Kommentare
Walter Roberson
am 7 Apr. 2012
Where is Jan's clear-all rant when you need it?
Daniel Shub
am 7 Apr. 2012
In this case clear all might be a valid answer. Better would be to figure out what is slowing things down, in the absence of that clear all is a nice hammer.
Daniel Shub
am 7 Apr. 2012
0 Stimmen
No, I do not get this. I will point back to one of the first questions I asked on Answers: href=""<http://www.mathworks.com/matlabcentral/answers/1093-how-do-i-reset-matlab-to-its-launched-state</a>>
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!