Why does MATFILE function creates files larger in size compared to SAVE function?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 21 Aug 2017
Answered: MathWorks Support Team
on 18 Dec 2017
Why does MATFILE function creates files larger in size compared to SAVE function?
Accepted Answer
MathWorks Support Team
on 13 Jun 2019
The size of the file created by the “save” function is smaller when compared to the size of the file from the “matfile” function. This is because of the fact the files created using the “matfile” function are saved as version 7.3 MAT-files. These 7.3 MAT-files use an HDF5 based format that requires some storage overhead that has some meta information about the file. Hence, the size of the file is larger when compared to the file created with the “save” command.
More information can be found in the documentation page linked below:
0 Comments
More Answers (0)
See Also
Categories
Find more on HDF5 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!