[SciPy-user] savemat not working in SciPy 0.4.6?

Albert Strasheim fullung at gmail.com
Wed Feb 22 08:04:32 CST 2006

Hello all

I'm trying to use the savemat function in SciPy 0.4.6.

The following code doesn't work:

from numpy import array
from scipy.io import savemat
savemat('foo.mat', {'x' : array([0])})

The traceback:

Traceback (most recent call last):
  File "frags.py", line 3, in ?
    savemat('foo.mat', {'x' : array([0])})
  File "C:\Python24\Lib\site-packages\scipy\io\mio.py", line 875, in savemat
  File "C:\Python24\Lib\site-packages\scipy\io\mio.py", line 223, in write
numpyio.error: Does not support extended types.

Is anybody else experiencing this problem?



More information about the SciPy-user mailing list