Save MAT File Bigger than 2GB
이전 댓글 표시
Hello,
I`m a 2016B user. This version complains about my synthetic data storage and says that
For variables larger than 2GB use MAT-file version 7.3 or later
I cannot obtain higher version. Any idea on how to store big data?
Thanks in advance
댓글 수: 2
Adam
2018년 2월 7일
You would probably be better splitting your data into chunks if that is possible. Saving large files to v7.3 can be very bad in terms of performance.
Jan
2018년 2월 7일
The message is clear already: All you have to do is to append the -v7.3 flag to your save command (see Kai's answer) or to set this as default in the preferences.
채택된 답변
추가 답변 (2개)
Steven Lord
2018년 2월 7일
0 개 추천
Open the documentation for the save function using doc save. In order to save your data to a MAT-file with version 7.3 or later, specify the '-v7.3' flag as the version input argument. The "Save Variables to Version 7.3 MAT-File" example on that page shows the exact syntax.
Stefanie Schwarz
2025년 9월 9일
0 개 추천
There is also a MATLAB preference that you can set:
- In R2024b and earlier: Open Preferences > General > MAT-Files and then select "MATLAB Version 7.3 or later" as the default "MAT-file save format".
- In R2025a and later: Open Settings > General > MAT and FIG Files and then select "MATLAB R2006b (Version 7.3) or later" as the default "MAT and FIG files save format".
For more information, see: https://www.mathworks.com/help/matlab/import_export/mat-file-versions.html
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!