[Scipy-tickets] [SciPy] #1108: scipy.io.loadmat: Unreadable variable "XXX", because "Cannot read matlab functions"

SciPy Trac scipy-tickets@scipy....
Mon Feb 1 12:10:13 CST 2010


#1108: scipy.io.loadmat: Unreadable variable "XXX", because "Cannot read matlab
functions"
--------------------------------------------+-------------------------------
 Reporter:  isb0459                         |       Owner:  somebody
     Type:  defect                          |      Status:  new     
 Priority:  normal                          |   Milestone:  0.7.1   
Component:  scipy.io                        |     Version:  0.7.0   
 Keywords:  matlab loadmat function handle  |  
--------------------------------------------+-------------------------------
 My MAT (version 5) data file contains a structure which has fields
 (members) that are function handles.  But there are many other fields in
 the structure that are ordinary scalars.  Nevertheless, the MatFile5Reader
 bails on parsing the entire struct apparently on account of encountering a
 single field that is a function handle.  I think this is a bug, but in any
 case I'd like the reader to simply report that the field is a function
 handle (named such and such) and continue on processing the structure.  I
 tested and found all is well if I remove the function handle.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1108>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list