<< h5write | HDF5 | isnh5file >> |
h5writeatt(filename, location, attname, attvalue) |
h5writeatt(filename, location, attname, attvalue, 'TextEncoding', encoding) |
a string: hdf5 filename.
a string: full path identifying a group or variable.
a string: name of an attribute.
a value: supported types: double, uint64, uint32, uint16, uint8 single, int64, int32, int16, or int8.
a string: 'system' or 'UTF-8' ('UTF-8' default).
h5writeatt writes attribute named attname with the value attvalue to the HDF5 file.
h5create([tempdir(), 'myfile.h5'],'/myDataset1',[10 20]);
h5writeatt([tempdir(), 'myfile.h5'],'/','creation_date', '26-Dec-2018 16:55:32')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET