Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - 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 > h5group

h5group

Create a group

Calling Sequence

h5group(obj, names)
h5group(filename, names)

Arguments

obj

a H5Object

names

a matrix of strings giving the names

filename

a string giving the filename

Description

Create a set of groups.

Examples

// We create a file
a = h5open(TMPDIR + "/test_group.h5", "a");

// We create a set of 10 groups containg 10 subgroups
// Firstly, we create the names
gnames = "Group_" + string(1:10);
sgnames = "SubGroup_" + string(1:10);
names = gnames;
for s=gnames
    names = [names s + "/" + sgnames]
end

// Secondly, we create the groups
h5group(a, names);

// We can check that all is ok
h5ls(a)

// ...and
h5ls(a, "Group_3")

// Free the resources associated to a
h5close(a);

See Also

History

VersionDescription
5.5.0 HDF5 module introduced.
Report an issue
<< h5get HDF5 Management h5isArray >>

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:
Fri Apr 11 14:14:55 CEST 2014