<< h5isArray h5is* tests h5isCompound >>

Scilab Help >> Fichiers HDF5 > h5is* tests > h5isAttr

h5isAttr

Check if the HDF5 object is an attribute

Syntax

b = h5isAttr(obj)

Arguments

obj

a H5Object

b

a boolean

Description

Check if an HDF5 object is an attribute object.

Examples

// Create a SOD file which an HDF5 one
x = 1:10;
save(TMPDIR + "/x.sod", "x");

// Open the file
a = h5open(TMPDIR + "/x.sod", "r");

// Test
h5isAttr(a)

// Test against attribute 'SCILAB_scilab_version'
h5isAttr(a.root.SCILAB_scilab_version)

// We close all
h5close(a)

See also

History

VersionDescription
5.5.0 HDF5 module introduced.

Report an issue
<< h5isArray h5is* tests h5isCompound >>