[SciPy-user] Sparse format support in io.loadmat

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Oct 7 06:28:03 CDT 2004

Hi all,
AFAIK there is no support for reading sparse matrices via

Traceback (most recent call last):
  File "io.py", line 2, in ?
    print io.loadmat('test.mat', appendmat=0)
  File "/usr/lib/python2.3/site-packages/scipy/io/mio.py", line 744, in 
    raise ValueError, "Cannot handle sparse matrices, yet."
ValueError: Cannot handle sparse matrices, yet.

Since io has many new features e.g. Matrix  Market
(and hopefully NASTRAN's op4 in the near future) it would be nice to have
support for sparse matrices in io.loadmat.

Any comments ?


More information about the SciPy-user mailing list