Get Matlab HDF5 version

Matlab upgraded to HDF5 1.8.12 in R2015a. Matlab R2020b uses HDF5 1.8.12. HDF5 1.8.12 was released in November 2013. HDF Group official support for HDF5 1.8 ends in 2021.

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.