Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> HDF5 Management > h5isRef

h5isRef

Check if the HDF5 object is a reference object

Calling Sequence

b = h5isRef(obj)

Arguments

obj

a H5Object

b

a boolean

Description

Check if an HDF5 object is a reference object.

Examples

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

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

// Test
h5isRef(a)

// Test against the references in the dataset named 'x'
y = a.root.x.data;
h5isRef(y)

// Get the reference values
y(1).data, y(2).data

// 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
  • h5isAttr — Check if the HDF5 object is an attribute
  • h5isSpace — Check if the HDF5 object is a dataspace
  • h5isType — Check if the HDF5 object is a type
  • h5isArray — Check if the HDF5 object is an array
  • h5isVlen — Check if the HDF5 object is a variable length array

History

VersionDescription
5.5.0 HDF5 module introduced.
Report an issue
<< h5isGroup HDF5 Management h5isSet >>

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 02 13:54:34 CEST 2014