xlsread requires internet connection?

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

 Risposta accettata

Guillaume
Guillaume il 10 Apr 2017

1 voto

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 Commento

Thanks for that fast reply. I will have a look into some Microsoft support then.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by