In matlab, one can use the following command to read h5 file
data = h5read(filename,ds)
data = h5read(filename,ds,start,count)
data = h5read(filename,ds,start,count,stride)
Further Description on the usage
Ex. 1
data = h5read(filename,ds_name)
reads all the data from the dataset ds_name contained in the HDF5 file filename.
Ex. 2
data = h5read(filename,ds_name,start,count)
reads a subset of data from the dataset beginning at the location specified in start. The count argument specifies the number of elements to read along each dimension.
Ex. 3
data = h5read(filename,ds,start,count,stride) returns a subset of data with the interval between the indices of each dimension of the dataset specified by stride.