error message: unexpected record length

9 ビュー (過去 30 日間)
cgo
cgo 2017 年 8 月 20 日
回答済み: cgo 2017 年 8 月 21 日
I have an excel file 65000 x 4 which is already saved as .xls (as opposed to .xlsx). I cannot read the file because of the above error message. It tells me to save it as Excel 98, but it already is! I don't know what to do with this. How to solve this problem?

回答 (2 件)

Jan
Jan 2017 年 8 月 20 日
The row limit of 65535 is not the problem. Some Mac users explained in the past, that their xlsread failed, when the cells contain special characters like ° . Try to remove these characters. Saving the file as XLSX might help also.
Please mention your OS and Matlab version.

cgo
cgo 2017 年 8 月 21 日
I am using a mac, with matlab 2013b.
I havent completely scanned the file, but I don't know where I could have placed a special character there.

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by