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

 채택된 답변

Guillaume
Guillaume 2017년 4월 10일

1 개 추천

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

Max Grobbel
Max Grobbel 2017년 4월 10일
Thanks for that fast reply. I will have a look into some Microsoft support then.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2017년 4월 10일

댓글:

2017년 4월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by