save v7 vs v7.3 - compression is in which one?
조회 수: 7 (최근 30일)
이전 댓글 표시
Matlab version: 7.11.0.584 (R2010b)
I have a dataset ~68MB in size. Name Size Bytes Class Attributes
datads 299558x21 68295294 dataset
If I save it using -v7 switch, it takes ~12MB on disk. If I save it using -v7.3 switch, it takes ~125MB on disk. Everything I have read suggests v7.3 does compression but v7 doesn't. So these results don't make sense to me. Am I missing something?
댓글 수: 0
답변 (1개)
Shashank Prasanna
2013년 3월 4일
편집: Shashank Prasanna
2013년 3월 4일
matal, v7.3 uses hdf5 format, which offers several advantages over older format. It allows for files larger than 2 gb as well as partial read from the file.
However this comes with a downside, which is a larger chunkier header which allows for all these awesome features. Therefore it is quite expected taht the v7.3 be bigger than an equivalent v7.0
Also this information is present in the documentation here:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!