Getting error from xlsread
Afficher commentaires plus anciens
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 commentaires
ravi
le 11 Avr 2016
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
le 25 Mai 2019
i tried this but still have problem
Réponse acceptée
Plus de réponses (3)
XM Liu
le 17 Nov 2016
9 votes
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 commentaires
Henrik Persson
le 25 Nov 2016
Thank you XM Liu :) I had this issue and I was using foxit excel plugin. Disabling it and restarting solved the issue.
Antoine Mailhot
le 15 Mai 2017
Thanks a lot! It solved my problem. It was actually the Foxit Reader COM ADD IN.
An
le 12 Nov 2018
Also worked for me. Such a weird bug with Foxit... Thanks XM Liu!
Atsushi
le 30 Avr 2019
Thanks Liu. It also worked for me with R2018a and Excel 2016.
vcmorini
le 16 Mai 2017
1 vote
Seth Wright
le 22 Oct 2018
0 votes
Saving it as a csv file fixed it
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!