<< h5readatt HDF5 h5writeatt >>

h5write


Writes HDF5 data set.


Syntax


h5write(filename, location, value)

Input argument


filename

a string: hdf5 filename.

location

a string: full path identifying a data set.

value

a value: supported types: double, uint64, uint32, uint16, uint8 single, int64, int32, int16, int8 or character array.

Description


h5write writes data to an entire data set, location, in the HDF5 file.

Example


h5filename = [tempdir(), 'doc_h5write.h5'];
R = rand(3, 4)
h5write(h5filename,'/rand', R);
h5write(h5filename,'/str', 'Hello');
h5dump(h5filename)

See also


h5read.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< h5readatt HDF5 h5writeatt >>