Achim Gaedke skrev:

Hello!

Has anyone experience with matlab import of pytables files?

I read about it at
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/hdf5.html .

Before I start to go into matlab, I'd be glad to recieve some hints.

Thanks for an answer, Achim
There are a couple of issues with reading pytables-files in Matlab:

- If I recall correctly, Matlab 7.0 is needed for decent hdf5 support.
- Matlab tends to read the complete dataset into memory, and as far as I can tell, at least Matlab 7.0 does this. If your dataset is large, it will not fit in memory, so you can not read your pytables-file. - The Matlab interface does not support the natural naming of pytables, which I like a lot for readability.

Our solution was:
- Write a object for reading our specific type of pytables file.
- Implement natural naming via a custom subsref implementation
- Write a c/mex-file for reading only slices of the data, and implementing a quasi array interface to the data via the subsref implementation. This file uses the hdf5 c-api.

Therefore we have natural naming, and the possibility to read only parts of the dataset into memory. Currently we have no support for writing hdf5-files. Our implementation is not general, as it is tuned to the file format we use in our application.

Hope this helps!

Best regards, Sigve



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to