Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - English

Change language to:
Français - 日本語 - 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

Scilab Help >> HDF5 Management > h5dump

h5dump

Dump the content of an H5 object on the standard output stream

Syntax

h5dataset(obj, name)
h5dataset(filename, name)

Arguments

obj

a H5Object

name

a string giving the path to dump

filename

a string giving the filename

Description

Write the content of an H5 object in the standard output stream. Useful to help debugging and checking that everything is ok with the object.

Examples

// We create a new HDF5 file
a = h5open(TMPDIR + "/test.h5", "a")

// The data
h5write(a, "DS1", 1:10);
h5write(a, "DS2", uint16(1:10));
h5write(a, "DS3", ["Hello" "World"]);
h5writeattr(a, "/DS3", "ATT3.1", "String Matrix")

// We can dump all the file
h5dump(a)

// ...or only the third dataset
h5dump(a, "/DS3")

// Free all the resources
h5close(a)

// We can dump without explicitly open the file
h5dump(TMPDIR + "/test.h5");

// ... or only the third dataset
h5dump(TMPDIR + "/test.h5", "/DS3");

See also

History

VersionDescription
5.5.0 HDF5 module introduced.
Report an issue
<< h5dataset HDF5 Management h5exists >>

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:
Mon Feb 12 19:26:50 CET 2018