I can load a matrix from text file:
load mydata.txt
The problem is my matrix file is about 250Mb and after several such loads I have no mem
What you have to do clear mydata
and then issue pack
. The first command says to Matlab that the reference to the memory held for mydata is not needed anymore. The second command instruct the Matlab to free unused memory. If you don't issue pack
, then memory will be deallocated when the Matlab memory manager decides to.