Hi everyone, I am using Matlab 2016b and Microsoft Office 365 with Excel. I found out that xlsread only works with an internet connection. Otherwise it throws me an error message, saying the the open command of excel could not be excecuted. Is there any workaround for that or do I need a stable internet connection?
Thanks,
Max

 Réponse acceptée

Guillaume
Guillaume le 10 Avr 2017

1 vote

xlsread delegates all the hard work of opening/reading the file to Excel. So if xlsread reports that it failed to open the file, that is because Excel failed to open to file.
Excel normally does not require an internet connection. So if it fails to open a file because of that, check that:
  • the file you're trying to open is on the local machine
  • the excel file does not contain links to files on the network
But your problem is not with xlsread or matlab but with Excel or the file itself.

1 commentaire

Max Grobbel
Max Grobbel le 10 Avr 2017
Thanks for that fast reply. I will have a look into some Microsoft support then.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings 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!

Translated by