Read XLSX file on a Mac with R2012a doesn't work?
이전 댓글 표시
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.
채택된 답변
추가 답변 (2개)
Ken Atwell
2012년 4월 30일
0 개 추천
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
2012년 5월 17일
댓글 수: 1
Walter Roberson
2012년 5월 17일
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?
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!