save variable too large
Ältere Kommentare anzeigen
hello,
i have a 6.4G mat variable in 7.3 format, and i believe i am expanding it to double its size. so the theoretical size should be 12.8G. but matlab 2017a returns that the variable is too big to store. (its from a batch job) . is there a way around this?
it is running on CentOS, and i think this is a fundamental problem with save.
thanks,
3 Kommentare
Rik
am 4 Okt. 2017
Looking at the documentation it seems that "The maximum size of a MAT-file is imposed only by your native file system."
I think the only way around it might be to rethink your data structure, so you don't need a file that large. It sounds like a file that big would be really difficult to load to memory as well.
Walter Roberson
am 4 Okt. 2017
The original might be 7.3 but are you making sure you give the 7.3 flag when you do the save?
Jan
am 4 Okt. 2017
Please post the complete error message and the code. How do you "expand" the file? Which command causes the error message?
Antworten (0)
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!