Tuesday, May 27, 2014

for input arguments of type 'single' and attributes 'sparse 2d real'

For the problem of the kind:
Undefined function 'plus' for input arguments of type 'single' and attributes 'sparse 2d real'.
I forgot to convert the data into double. do data = double(data); Problem solved!

No comments: