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_inpad

Specify how unused internal bits are to be filled

Syntax

H5T.set_inpad(type_id,pad)

Description

H5T.set_inpad(type_id,pad) sets how unused internal bits of a floating point type are filled. type_id is the identifier of the data type. inpad specifies how to fill the bits: H5T_PAD_ZERO, H5T_PAD_ONE, or H5T_PAD_BACKGROUND (leave background alone).

Examples

type_id = H5T.copy('H5T_NATIVE_FLOAT');
pad_type = H5ML.get_constant_value('H5T_PAD_ZERO');
H5T.set_inpad(type_id,pad_type);

See Also

Was this topic helpful?