Hi Antoine,
Probably something like:
d=xyg.data(0);
d.elem1
d.elem2
Please provide me a file (you can send it to me privately), it could
have some bugs.
Best regards
Calixte
On 02/09/2015 14:03, amonm...@laas.fr wrote:
Hi all,
Almost everything is in the title: I am trying to load in scilab the
content of an HDF5 file and some of the datasets are of type compound
of array of variable length:
h5dump(xyg)
DATASET "XY Graph" {
DATATYPE H5T_COMPOUND {
H5T_VLEN { H5T_IEEE_F64LE } "elem1";
H5T_VLEN { H5T_IEEE_F64LE } "elem2";
}
DATASPACE SCALAR
STORAGE_LAYOUT {
CONTIGUOUS
SIZE 0
OFFSET 18446744073709551615
}
DATA {
(0): {
(),
()
}
}
}
How can I access elem1 and elem2?
I tried things like:
xyg.data
xyg.elem1
xyg.data.elem1
xyg.compound.whatever
without success...
Any clue?
Cheers,
Antoine
PS: I can give you an example hdf5 file if needed, but it's quite big!
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
--
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
http://www.scilab-enterprises.com
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users