MATLAB: Do I receive “sprint is not defined for class cell” error when I try to read an Excel file using IMPORTDATA in MATLAB

cellclassdefinedexcelforimportdataisMATLABnotsprintf

I receive "sprint is not defined for class cell" error when I try to read an Excel file using IMPORTDATA in MATLAB.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a bug in MATLAB 6.5 (R13) in the way that IMPORTDATA handles Excel data files.
One of the reasons for this error could be that the file was created using an unsupported version of Excel.
As a workaround, copy the contents of the file to a new workbook created using a supported version of Microsoft Excel and then try to read that file. Note that you should copy the contents of the file and not do a 'Save As'.
Related Question