Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - Русский


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

  • h5isFile — Check if the HDF5 object is a file
  • h5isGroup — Check if the HDF5 object is a group
  • h5isSet — Check if the HDF5 object is a dataset
  • h5isSpace — Check if the HDF5 object is a dataspace
  • h5isType — Check if the HDF5 object is a type
  • h5isRef — Check if the HDF5 object is a reference object
  • h5isArray — Check if the HDF5 object is an array
  • h5isVlen — Check if the HDF5 object is a variable length array

History

ВерсияОписание
5.5.0 HDF5 module introduced.
Report an issue
<< h5isArray h5is* tests h5isCompound >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 24 11:18:32 CEST 2024