[SciPy-dev] Please stress-test SVN version pf matlab reader
Sat Jan 9 13:49:21 CST 2010
Matthew Brett wrote:
>> further - if I set both squeeze_me and struct_as_record to True (does that
>> make sense?), I get into some rather nasty situations, where I can't use the
>> variables in the matfile:
> Sorry - I think I missed your first email, and can't see the
> attachment - can you send by private mail?
> I've fixed your first error I think - thanks for the report - please
> let me know if current SVN does work for mat_struct problem...
> See you,
I updated from svn, built, and installed, and I am having a similar
problem. A sample file is
Here is what happens:
In :from scipy.io import loadmat
In :a = loadmat('002.mat', struct_as_record=True, squeeze_me=True)
I think this is the same problem that Ariel noted. If I don't use
squeeze_me but explicitly de-reference each of the two levels of arrays
of shape (1,1), then I can get at the underlying variables.
> SciPy-Dev mailing list
More information about the SciPy-Dev