[SciPy-user] weave and large arrays

Ryan Krauss ryanfedora at comcast.net
Wed May 11 15:56:48 EDT 2005


hmmmmmmmmmm.

I had written a Matlab script to load the *.mat files and resave them, 
but I put the -v4 switch at the end.  I am using Matlab version 6.5.  I 
will re-run the script using the -v4 switch first and see what happens.


Stephen Walton wrote:

> Ryan Krauss wrote:
>
>> Either reading in the ascii data or using io.loadmat without using 
>> weave runs for over 15 minutes   The *.mat file contains 11 column 
>> vectors that are 25000 elements long.
>
>
> There is something really wrong here then.  I executed the following 
> MATLAB code:
>
> x1=rand(25000,1);
> x2=rand(25000,1);
> ...
> x11=rand(25000,1);
> save foo -v4 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11
>
> and then loaded 'foo.mat' using io.loadmat in a fraction of a second.  
> I was using MATLAB version 7, hence the -v4 switch to get lowest 
> common denominator MATLAB file.
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>




More information about the SciPy-User mailing list