H5T.set_tag

Tag opaque data type with description

Syntax

H5T.set_tag(type_id,tag)

Description

H5T.set_tag(type_id,tag) tags the opaque data type specified by type_id, with the descriptive text, tag. Specify tag as a character vector or string scalar.

Examples

Create an opaque data type with a length of 4 bytes and a particular tag.

type_id = H5T.create('H5T_OPAQUE',4);
H5T.set_tag(type_id,'Created by MATLAB.');