Error using xlsread (line 260)

13 Ansichten (letzte 30 Tage)
Adriano
Adriano am 8 Mai 2017
Kommentiert: dpb am 9 Mai 2017
Hello! Today "xlsread" function give me this error:
Error using xlsread (line 260)
Undefined function 'Activate' for input arguments of type 'Interface.000208D8_0000_0000_C000_000000000046'.
I have used xlsread many times and now it doesn't work. I tried to use xlsread on many excel files but the problem persists. The code I execute is very simple:
filename2 = 'C:\one.xlsm';
[data,names] = xlsread(filename2,'tool');
What can I do? many thanks!
  3 Kommentare
Guillaume
Guillaume am 8 Mai 2017
I doubt that restarting matlab would make a difference, but you never know...
Most likely, the problem is with Excel, which for some reason, returned a worksheet to matlab that is not really a worksheet. Has any change been made to Excel?
dpb
dpb am 8 Mai 2017
Indeed, but it's an easy thing to try...but you're right it's probably something to do w/ Excel
Guess it never hurts to ask about version and so...

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Santhana Raj
Santhana Raj am 9 Mai 2017
Bearbeitet: dpb am 9 Mai 2017
  1 Kommentar
dpb
dpb am 9 Mai 2017
There's a half-dozen or so different symptoms/fixes there...which one, specifically solved your issue might be worth noting.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by