Why can't MATLAB read my modified HDF5/.mat v7.3 file?

20 Ansichten (letzte 30 Tage)
janolivero
janolivero am 24 Mär. 2016
Beantwortet: Dave Bergstein am 4 Apr. 2016
From version 7.3, the .mat file format is supposed to be in binary HDF5 format, and should allow processing by the standard HDF5 tools that are around. I am trying to modify a .mat file using python library h5py. (I delete a dataset from the .mat file and recreate it with an additional dimension). If I try to open the modified file in MATLAB, I am getting a segmentation fault.
Is MATLAB really using standard HDF5 format, or does it require any hidden metadata, that I don't know of?

Antworten (1)

Dave Bergstein
Dave Bergstein am 4 Apr. 2016
You might try using the MATLAB HDF5 interface. It gives you greater control for reading and writing HDF5: http://www.mathworks.com/help/matlab/hdf5-files.html

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by