If using GNU Octave instead of Matlab the minimum Octave version is 7.0.
For HDF5 h5*() functions, install hdf5oct package from Octave prompt:
pkg install -forge hdf5oct
For NetCDF4 nc*() functions, install netcdf package from Octave prompt:
pkg install -forge netcdf
Optionally, to enable higher-performance (faster) C++-based .oct functions, run the octave_build script from GNU Octave.