Error using xlsread line 248

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 comentarios

Rik
Rik el 20 de Mayo de 2019
Please provide the full error and the code (and possibly other files) to reproduce it. (try to minimize the lines of code needed to trigger the error)
Walter Roberson
Walter Roberson el 20 de Mayo de 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 el 21 de Mayo de 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!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 20 de Mayo de 2019

Comentada:

el 21 de Mayo de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by