[SciPy-user] Re : io.loadmat and mat_struct object

Nils Wagner nwagner at iam.uni-stuttgart.de
Tue May 12 05:57:16 EDT 2009


On Tue, 12 May 2009 11:49:15 +0200
  Mickael <mickael.paris at gmail.com> wrote:
> 2009/5/12, Nils Wagner <nwagner at iam.uni-stuttgart.de>:
>> Hi all,
>>
>> How can I obtain the contents of the mat_struct object ?
>>
>>>>> A['test_struct']
>> array([[<scipy.io.matlab.mio5.mat_struct object at
>> 0x2a9a0fb150>]], dtype=object)
>>
>>
>> Any pointer would be appreciated.
>>
>>       Nils
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>
> Hi Nils,
> 
> have you seen the informations inside the cookbook :
> 
> http://www.scipy.org/Cookbook/Reading_mat_files
> 
> Mickael.

Hi Mickael,

Thank you for the pointer. However the cookbook is very
short. How do I access arrays of structures ?

An example would be appreciated.

Cheers,
               Nils
  



More information about the SciPy-User mailing list