Read data from HDF5 data set
data = h5read(filename,datasetname)
data = h5read(filename,datasetname,start,count)
data = h5read(filename,datasetname,start,count,stride)
data = h5read(filename,datasetname)
retrieves
all of the data from the HDF5 data set datasetname
in
the file filename
.
data = h5read(filename,datasetname,start,count)
reads
a subset of data from the data set datasetname
.
start
is the one-based index of the first element
to be read. count
defines how many elements to
read along each dimension. If a particular element of count
is Inf
, h5read
reads
data until the end of the corresponding dimension.
data = h5read(filename,datasetname,start,count,stride)
reads a subset of data, where stride
specifies
the interelement spacing along each data set extent.
|
Character vector specifying the name of an HDF5 file. |
|
Character vector specifying the name of a data set in an HDF5 file. |
|
Numeric index value specifying the place to start reading data in the dataset in an HDF5 file. Indices are 1-based. |
|
Numeric value specifying the amount of data to read. |
|
Numeric value specifying the intervalue spacing during the read operation. For example, a spacing of 2 indicates reading every other value. |
|
Data read from the data set. |
h5disp
| h5readatt
| h5write
| h5writeatt