[SciPy-dev] matlab io - request for testing

Ariel Rokem arokem@berkeley....
Fri Feb 20 01:01:51 CST 2009


Hi Matthew - it seems to work on my computer (Mac OS 10.5.6), and quite fast
at that (though I haven't measured precisely). However, it isn't quite
backwards compatible with code written with a previous version of mio. If I
am getting things right, the changes are such that, in order to get the same
result as I got with the previous version, this lines of code:

    mat_file = sio.loadmat('file_name.mat')
    variable_values = mat_file['field_name'].variable

Has to now be written:

    mat_file = sio.loadmat('file_name.mat')
    field_values = mat_file['field_name'][0][0].variable[0][0]

Cheers --

Ariel


On Thu, Feb 19, 2009 at 8:57 PM, Nathan Bell <wnbell@gmail.com> wrote:

> On Thu, Feb 19, 2009 at 10:42 PM, Matthew Brett <matthew.brett@gmail.com>
> wrote:
> >
> > I have been beating up the matlab io rather severely in order to
> > implement some cleanups, fixes, and add new options.
> >
> > I would very much appreciate it if people could pick up the current
> > SVN and let me know whether they have any problems.
> >
>
> r5579 works fine on my system (Ubuntu 8.04 64-bit Python 2.5).
>
> --
> Nathan Bell wnbell@gmail.com
> http://graphics.cs.uiuc.edu/~wnbell/<http://graphics.cs.uiuc.edu/%7Ewnbell/>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-dev/attachments/20090219/a5e7a49a/attachment.html 


More information about the Scipy-dev mailing list