MATLAB Answers

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

23 ビュー (過去 30 日間)
janolivero 2016 年 3 月 24 日
回答済み: Dave Bergstein 2016 年 4 月 4 日
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?

回答 (1 件)

Dave Bergstein
Dave Bergstein 2016 年 4 月 4 日
You might try using the MATLAB HDF5 interface. It gives you greater control for reading and writing HDF5:



Community Treasure Hunt

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

Start Hunting!

Translated by