NeuroJSON / easyh5

EasyH5 Toolbox - An easy-to-use HDF5 data interface (loadh5 and saveh5) for MATLAB
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

Saving/loading structures using creation order instead of alphabetic order #1

Closed fangq closed 4 years ago

fangq commented 4 years ago

In the current version (v0.5), saving a structure then loading back to MATLAB does not yield the same struct because loadh5.m, originally written by Pauli Virtanen, reads objects instead of links.

I've already asked saveh5.m to track the creation order in this commit https://github.com/fangq/eazyh5/commit/66de6e2388630ab4defb46d0024992533602d1bf

but this alone is not sufficient, need also to use H5L interface to read links in loadh5.m, which I haven't figured out.

If you know how to do it, please fork and modify, thanks