clear function does not work

8 views (last 30 days)
Yu Li
Yu Li on 31 Jul 2018
Answered: Stephen23 on 31 Jul 2018
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 Comments
per isakson
per isakson on 31 Jul 2018
Edited: per isakson on 31 Jul 2018
How exactly do you "see that the Matlab occupied about 20GB memory"?
Please, see the Help on formatting a question.
Yu Li
Yu Li on 31 Jul 2018
In task manager.

Sign in to comment.

Answers (1)

Stephen23
Stephen23 on 31 Jul 2018

Community Treasure Hunt

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

Start Hunting!