[SciPy-user] io.loadmat

Travis Oliphant oliphant.travis at ieee.org
Wed Feb 1 02:01:14 EST 2006


Ryan Krauss wrote:

>I am having trouble loading Matlab .mat files that loaded just fine
>under the old scipy.  Here is the error message:
>  
>
Hi Ryan.  With latest SVN of scipy, I'm able to load your matfile just 
fine.

I'm not sure what the issue was, but I did change the getsize_type 
function in mio.py to make sure that the second argument returned is 
always a character.   There was a chance it could be returned as a 
type-object.

If  you can't get the latest SVN version, let me know what version of 
numpy you are using and I can give you a couple-line edit to the mio.py 
file that should work.

-Travis






More information about the SciPy-User mailing list