Matlab 6 and earlier did not employ automatic data compression Matlab versions 7.0 (R14) through 7.2 (R2006a) use GZIP compression Matlab 7.3 (R2006b) and newer can use an HDF5-variant format, which apparently also uses GZIP (level-3) compression, although MathWorks might have done better to pay the license cost of employing SZIP ( thanks to Malcolm Lidierth for the clarification). This format is publicly available and adaptors are available for other programming languages ( C, C#, Java). ![]() MAT is Matlab’s default data format for the save function. Today’s article will show little-known tricks of improving save‘s performance. This data can later be loaded back into Matlab using the load function. ![]() Matlab’s built-in save function is an easy and very convenient way to store data in both binary and text formats. But we often don’t need or want to use such low-level functions. fwrite is normally used to store binary data in some custom pre-defined format. ![]() Two weeks ago I posted an article about improving fwrite‘s performance.
0 Comments
Leave a Reply. |