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.

H5ML.compare_values

Numerically compare two HDF5 values

Syntax

bEqual = H5ML.compare_values(value1,value2)

Description

bEqual = H5ML.compare_values(value1,value2) compares two values, where either or both values may be specified by their text representation (for example, 'H5T_NATIVE_INT'). The values are compared numerically.

Function parameters:

bEqualA logical value indicating whether the two values are equal
value1The first value to be compared
value2The second value to be compared

Examples

val = H5ML.get_constant_value('H5T_NATIVE_INT');
H5ML.compare_values(val,'H5T_NATIVE_INT')
Was this topic helpful?