Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

H5T.set_sign

Set sign property for integer data type

Syntax

H5T.set_sign(type_id,sign)

Description

H5T.set_sign(type_id,sign) sets the sign property for an integer type. type_id is a data type identifier. sign specifies the sign type. Valid values are H5T_SGN_NONE or H5T_SGN_2.

Examples

type_id = H5T.copy('H5T_NATIVE_LONG');
sgn = H5ML.get_constant_value('H5T_SGN_NONE');
H5T.set_sign(type_id,sgn);

See Also

Was this topic helpful?