My MATLAB gets sluggish over time so I have to keep restarting it
古いコメントを表示
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 件のコメント
Daniel Dolan
2012 年 4 月 6 日
What operating system are you using?
Tom
2012 年 4 月 8 日
Matt Fig
2012 年 11 月 2 日
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?
採用された回答
その他の回答 (2 件)
douglas
2012 年 4 月 6 日
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 件のコメント
Walter Roberson
2012 年 4 月 7 日
Where is Jan's clear-all rant when you need it?
Daniel Shub
2012 年 4 月 7 日
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
2012 年 4 月 7 日
0 投票
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>>
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!