Search code examples
matlabvectorsaveworkspace

Matlab: Is it possible to save in the workspace a vector that contains 4 millions of values?


I am calculating something and, as result I have a vector 4 millions elements. I am not still finished to calculate it. I´ve calculate it will take 2 and a half hours more. When I will have finished I could save it? It is not possible, what can I do? Thank you.


Solution

  • On Windows 32-bit you can have at maximum a double array of 155-200 millions of elements. Check other OSs on Mathworks support page.