createhdf5group
Creates a group in an HDF5 file. All intermediate groups in the path should exist.
Syntax
createhdf5group(filename, groupPath)
Inputs
- filename
- Path to the HDF5 file.
- groupPath
- Fully qualified path of the group in the file.
Example 1
Create a
group.
createhdf5group('test.h5','/group1')
input=[1,2;3,4];
createhdf5dataset('test.h5','/group1/QUAD4',input)
output=readhdf5('test.h5','/group1/QUAD4')
output =
{
[1,1] [Matrix] 2 x 2
1 2
3 4
}