![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/193169/image.png)
clear function does not work
5 ビュー (過去 30 日間)
古いコメントを表示
Hi: After my code finished, I see that the Matlab occupied about 20GB memory. I tried to clear them but failed.
I have tried clear, clear all, clearvars, clearvars -global, etc. which can be find here: https://www.mathworks.com/help/matlab/ref/clear.html is there anyway to figure out why this happens?
Thanks! Yu
2 件のコメント
per isakson
2018 年 7 月 31 日
編集済み: per isakson
2018 年 7 月 31 日
How exactly do you "see that the Matlab occupied about 20GB memory"?
Please, see the Help on formatting a question.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/193169/image.png)
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!