Check Matlab HDF5 library version by:
[major,minor,rel] = H5.get_libversion()
Newer versions of the HDF5 library can write HDF5 1.8 files when specific options are used. This may be necessary to allow Matlab to read HDF5 files written by other applications. For example, Python uses h5py libver option to control HDF5 version compatibility.