[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #7537] Handle matlab way to store cell arr
From: |
Mathias Fröhlich |
Subject: |
[Octave-patch-tracker] [patch #7537] Handle matlab way to store cell arrays in hdf5 files. |
Date: |
Thu, 28 Apr 2011 16:36:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.16) Gecko/20110322 Fedora/3.6.16-1.fc14 Firefox/3.6.16 |
URL:
<http://savannah.gnu.org/patch/?7537>
Summary: Handle matlab way to store cell arrays in hdf5
files.
Project: GNU Octave
Submitted by: frohlich
Submitted on: Thu 28 Apr 2011 06:36:32 PM CEST
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
I have extended the hdf5 loader routines to handle datasets of object
references in hdf5 files.
Matlab uses this for hdf5/mat files to store cell arrays.
Also it appears sensible to me to import object reference datasets as cell
arrays.
The change extends the cell array hdf5 load function by the code that is able
to interpret object references. Also the cell array's load_hdf5 method is used
in case of an object reference dataset.
The hdf group iteration function is adapted to use H5O_info which replaces the
today deprecated and currently used H5G_info function. Using that change, this
iteration function can easily be reused for traversing the referenced objects
from the new code path.
Using this patch, I am able to load simple matlab V7.3 hdf5 files containing
simple cell arrays including the stored cell arrays which did not show up
before.
The patch is developed against the current release version 3.4.0. But it also
applies fine to todays hg mainline.
Please review, apply and/or suggest improvements.
Thanks
Mathias
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 28 Apr 2011 06:36:32 PM CEST Name: octave-cell.diff Size: 9kB
By: frohlich
<http://savannah.gnu.org/patch/download.php?file_id=23320>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?7537>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-patch-tracker] [patch #7537] Handle matlab way to store cell arrays in hdf5 files.,
Mathias Fröhlich <=