Skip to content

h5read

builtin · libnexusinterp/corefcn/h5-native-proprietary.cc

: data = h5read (filename, datasetname)
: data = h5read (filename, datasetname, start, count)
: data = h5read (filename, datasetname, start, count, stride)

Read the HDF5 dataset datasetname of filename. The HDF5 dimension order is reversed so the result has the MATLAB size of the dataset (an HDF5 array of dimensions [3 4] is returned as a 4-by-3 array). start, count and stride select a hyperslab with 1-based start; a count of Inf reads to the end of the dimension. String datasets are returned as string arrays and compound datasets as structures.