save v7 vs v7.3 - compression is in which one?
8 次查看(过去 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 中查找有关 Standard File Formats 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!