![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/193169/image.png)
clear function does not work
조회 수: 11 (최근 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)
참고 항목
카테고리
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!