hdf5read
(Not recommended) Read HDF5 file
hdf5read
is not recommended. Use h5read
instead.
Syntax
Description
data = hdf5read(
reads all of the data in the dataset specified in the structure info
)info
. The
info
structure is the output returned by
hdf5info
.
[data,attr] = hdf5read(___,
specifies optional name-value arguments, in addition to any of the input arguments in the
previous syntaxes.Name,Value
)
Input Arguments
Output Arguments
Examples
Tips
hdf5read
performs best when reading numeric datasets. If you need to read string, compound, or variable length datasets, it is strongly recommended that you use the low-level HDF5 interface function,H5D.read
. To read a subset of a dataset, use theh5read
function or the MATLAB HDF5 low-level interface.hdf5read
maps HDF5 datatypes to native MATLAB data types, whenever possible. If it cannot represent the data using MATLAB data types,hdf5read
uses one of the HDF5 datatype objects. For example, if an HDF5 file contains a dataset made up of an enumerated datatype,hdf5read
uses thehdf5.h5enum
object to represent the data in the MATLAB workspace. Thehdf5.h5enum
object has data members that store the enumerations (names), their corresponding values, and the enumerated data.
Version History
Introduced before R2006a