Getting error from xlsread
显示 更早的评论
Hello,
I am trying to run a code which used to work perfectly using previous versions of Matlab. Now after upgrading to version 2015b I receive this error at line 251 of xlsread.m
Anybody knows anyway to fix this?
thank you.
2 个评论
ravi
2016-4-11
I was encountering the same problem since long. I tried saving the excel file in 97-2003 format. And then xlsread worked well :-)
Kashif Mehmood
2019-5-25
i tried this but still have problem
采纳的回答
更多回答(3 个)
XM Liu
2016-11-17
9 个投票
1- open the excel> file, >option, >add in, manage then select COM ADD IN, and clear everything (unchecked). everything should be cleared (unchecked). 2- restart the PC, and open the matlab. 3- perform xlsread command.
PS. For those people who use foxit pdf reader, it is potential to face this problem, so follow mentioned order.
4 个评论
Henrik Persson
2016-11-25
Thank you XM Liu :) I had this issue and I was using foxit excel plugin. Disabling it and restarting solved the issue.
Antoine Mailhot
2017-5-15
Thanks a lot! It solved my problem. It was actually the Foxit Reader COM ADD IN.
An
2018-11-12
Also worked for me. Such a weird bug with Foxit... Thanks XM Liu!
Atsushi
2019-4-30
Thanks Liu. It also worked for me with R2018a and Excel 2016.
Seth Wright
2018-10-22
0 个投票
Saving it as a csv file fixed it
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!