Read XLSX file on a Mac with R2012a doesn't work?
Afficher commentaires plus anciens
Hi,
In the release notes of R2012a, it is said that Matlab can now read XLSX files on any platform. I'm working on Mac OS X Lion (10.7.3) with R2012a and MS Office 2011. When I save a file with Excel as an XLSX file, the matlab function xlsfinfo can't read it. But If I save it as an XLS file, it's Ok. The problem is that I want to use xlsread with specifying range to import. So according to the Help article on this function, I can't use the basic mode and thus, I have to use an XLSX file. But it doesn't work. Any help would be appreciated.
Réponse acceptée
Plus de réponses (2)
Ken Atwell
le 30 Avr 2012
0 votes
xlsread does indeed work with .xlsx files on the Mac beginning with R2012a.
Abdallah, let's put aside what xlsinfo may or may not be telling you, and focus on xlsread itself.
What does xlsread itself do? Does it work? If not, please post the exact error message you get from xlsread.
Abdallah
le 17 Mai 2012
1 commentaire
Walter Roberson
le 17 Mai 2012
A couple of days ago someone reported that they had to use the worksheet number instead of the worksheet name.
I wonder: if the worksheet name were restricted to 7 bit characters (ASCII) whether it might work then?
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!