[SciPy-user] reading .mat-files (Matlab 7)

oliver.tomic at matforsk.no oliver.tomic at matforsk.no
Wed Jul 25 15:49:52 EDT 2007


Nils, Stefan and Rob,

thank you for your help.



scipy-user-bounces at scipy.org wrote on 25.07.2007 21:30:55:

>
> No problem with the svn version. It's time for a new
> release ...

Yes, it would be great to see a new release soon. The 0.5.2-release may be
a bit seasoned after 8 months.



>
> >>> from scipy import *
> >>> io.loadmat('brod.mat')
> {'Brod': array([[  1. ,   1. ,   1. , ...,   1. ,   5.6,
>   4.7],
>         [  1. ,   1. ,   2. , ...,   1. ,   5.1,   4.1],
>         [  1. ,   2. ,   1. , ...,   4.4,   4.8,   3.7],
>         ...,
>         [ 12. ,   6. ,   2. , ...,   1.8,   2.8,   4.2],
>         [ 12. ,   7. ,   1. , ...,   2. ,   4.9,   4.4],
>         [ 12. ,   7. ,   2. , ...,   1.3,   5.2,   3.9]]),
> '__version__': '1.0', '__header__': 'MATLAB 5.0 MAT-file,
> Platform: PCWIN, Created on: Wed Jul 25 21:21:07 2007',
> '__globals__': []}
>
> Nils
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user


Cheers
Oliver





More information about the SciPy-User mailing list