hdf5 - MATLAB: Differences between .mat versions -


the official documentation states following:

enter image description here. have noticed there other important differences besides stated in table above.

for example, saving cell array 6,000 elements occupies 176 mb of memory in matlab gives me following results depending on whether use -v7 or -v7.3:

  • with -v7: file size = 15 mb, , save & load fast.
  • with -v7.3: file size = 400 mb, , save & load very slow (probably in part because of large file size).

has else noticed these differences?

update 1: replies point out, -v7.3 relies on hdf5 , according mathworks, "this format has significant storage overhead", although it's not clear if overhead due format itself, or matlab implementation , handling of hdf5 instead.

update 2: @andrew janke points this helpful pdf (which apparently not available in html format on web). more details, see comments in answer provided @amro.

this takes me next question: are there alternatives combine best of both worlds (e.g. efficiency of -v7 , ability deal large files of -v7.3)?

version 7.3 of mat-files uses hdf5 format, format has significant storage overhead describe contents of file, complex nested cellarrays , structures. main advantage on previous versions of mat-files allows storing data larger 2gb on 64-bit systems.

note both v7 , v7.3 compressed , use unicode encoding (unlike v6), yet 2 different formats...

references:


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -