h5attrCreate an attributeCalling Sequence
h5attr(obj, location, name, data [, targetType])
h5attr(filename, location, name, data [, targetType])
Argumentsobja H5Objectlocationa string giving the location in the object or in the filenamea string giving the path to the new datasetdataa Scilab datatargetTypea string giving the type of the targetfilenamea string giving the filenameDescriptionCreate a new named attribute based on the Scilab data passed as argument.
The target HDF5 type can be chosen in the list available in the HDF5 manual.
Examples of this HDF5 type are "H5T_MIPS_U32" or "H5T_STD_B64BE", but shortcuts as "MIPS_U32" or "STD_B64BE" can also be used.
An attribute can be located in a group or in a datasetExamplesSee Also
h5group
h5dataset
History5.5.0HDF5 module introduced.