[SciPy-dev] SciPy-dev] [patch] read/write v5 .mat files with structs, cell arrays, objects, or function handles
Thouis (Ray) Jones
Fri Oct 3 09:49:51 CDT 2008
I've updated the patch to provide backwards compatibility for matlab
structures, controlled by a keyword argument to loadmat
(struct_as_record), which defaults to False (old style), and gives a
deprecation warning if False.
All tests in test_mio.py pass. I updated some of the tests for the
new object structure.
I tested both options for loading structures with some of my own data,
but it would be useful if David could check his code against it (if
that's not too difficult), as we don't really have a relevant codebase
prior to these changes.
(note that I goofed and didn't supersede the old patch in the Trac,
but it' obvious which is the right one.)
More information about the Scipy-dev