Error using xlsread line 248

1 view (last 30 days)
Allan N
Allan N on 20 May 2019
Commented: Allan N on 21 May 2019
I am getting the following error:
Error using xlsread (line 248)
Error: Unspecified error
The program does not contain line 248. It has up to 191. I'm wondering if this is a general error of some type?
  3 Comments
Walter Roberson
Walter Roberson on 20 May 2019
It is referring to line 248 of xlsread. The ActiveX connection to Excel is returning an error that MATLAB does not recognize.
If you happen to have any Excel plugin then try to disable them.
Allan N
Allan N on 21 May 2019
the instruction 'xlsread' appears to use Excel and so make certain that Excel. tools, add-ins are properly configured. Doing so solved this problem, and now MatLab works beautifully!
Thanks for the hint that made us look at Excel's settings!

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!