xlsread error in Matlab R2018a on Mac

I am trying to load an excel (xlsx) file into Matlab R2018a on my Mac and the xlsfunction keeps producing an error: (line 260) index exceeds array bounds. The same code worked just fine on my PC, but when trying to run it on my Mac I get this error. I was able to work around the issue by re-saving the file with an xls extension, but would still like to know why reading an xlsx file on the Mac is creating this type of error.

1 Commento

Hello Helen,
  • Are you able to provide a simple .xlsx file and call to xlsread that reproduces this issue?
  • Also, might I ask what version of macOS you are using?

Accedi per commentare.

Risposte (0)

Richiesto:

il 17 Set 2018

Commentato:

il 20 Set 2018

Community Treasure Hunt

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

Start Hunting!

Translated by