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

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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'.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!