Unload matrix and free memory
3 answers
What do you need to do clear mydata
and then release pack
. The first command tells Matlab that a reference to the memory stored for mydata is no longer needed. The second command tells Matlab to free unused memory. If you don't pack
, then the memory will be freed when the Matlab memory manager makes a decision.
0
user677656
source
to share