Get Matlab HDF5 version

Matlab R2022a has HDF5 1.10.8. Matlab R2021b has HDF5 1.10.7. R2015a ≤ Matlab < R2021b uses HDF5 1.8.12 from November 2013.

Check Matlab HDF5 library version by:

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

Newer versions of the HDF5 library can write backward-compatible HDF5 files when specific options are used. For example, Python h5py uses libver option to control HDF5 version compatibility.