Get Matlab HDF5 version

Matlab release vs. HDF5 library version:

  • R2024b: HDF5 1.10.11
  • R2023b: HDF5 1.10.10
  • R2022a .. R2023a: HDF5 1.10.8
  • R2021b: HDF5 1.10.7
  • R2015a .. R2021a: HDF5 1.8.12

Check Matlab HDF5 library version:

[major, minor, rel] = H5.get_libversion()

Check Python h5py HDF5 library version:

import h5py

print(h5py.h5.get_libversion())

In C, C++, Fortran, check HDF5 library version with H5get_libversion().


Newer versions of the HDF5 library can write backward-compatible HDF5 files by HDF5 version bound options.