There is no direct mapping between a MATLAB cell array and an equivalent HDF5 
data structure.  I would suggest investigating some of the HDF5 low-level API 
functions to create a data structure that would mimic a collection of 
heterogeneous structures.  

I hope this information helps.


-----Original Message-----
From: Hdf-forum [mailto:[email protected]] On Behalf Of 
digitalriptide
Sent: Wednesday, December 31, 2014 12:49 AM
To: HDF Users Discussion List
Subject: [Hdf-forum] MATLAB Cell Array in HDF5?

Is there something with equivalent functionality to Matlab's cell array in 
HDF5? I am converting my code from Matlab output to HDF5 output, and I have a 
collection of heterogeneous structs that I would like to store in a a single 
array. I was previously outputting these to a cell array in Matlab, but I'm 
having trouble finding an example of an equivalent data structure in HDF5. Can 
one create an array where each entry is a different compound type?

Thank you for your advice!

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to