필터 지우기
필터 지우기

XLSread error started?

조회 수: 3 (최근 30일)
Ben Sheard
Ben Sheard 2017년 9월 19일
댓글: Ben Sheard 2017년 9월 20일
I keep getting this error
Error using xlsread (line 260)
Invoke Error, Dispatch Exception:
Source: Microsoft Excel
Description: Open method of Workbooks class failed
Help File: xlmain11.chm
Help Context ID: 0
The script worked before, I changed a few values in my excel file and now I've got this error every time.
Any ideas why?
I've tried clearing the COM ADD INs in excel, restarted my PC a few times, made sure no other programs are running the same time as matlab, my file is directly in the working directory so it isn't a file path problem, any other ideas?
It's very frustrating!
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 9월 19일
https://www.mathworks.com/matlabcentral/answers/35316-xlsread-error#answer_44274 might help debug the problem. See also my response right under that.
Ben Sheard
Ben Sheard 2017년 9월 20일
Hi Walter, Thank you for the response!
I came to my PC this morning and ran my script to find that it now works... I haven;t changed anything since last night other than restart my PC, which I also tried yesterday.
Very strange, I'm now hoping it doesn't break randomly again!

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by