This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Tag opaque data type with 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.


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.');