Error involving 2018a xlsread
Show older comments
I just updated to the new Matlab 2018a and now my xlsread function does not work and this is the error I am receiving. I have two sheets in the Data.xlsx file and want to pull the data from the code given but it gives the shown.
Error using xlsread (line 260) Error registering event(s), Invalid ConnectionPointContainer
Error in lab5 (line 8) drag = xlsread('Data.xlsx',1,'d25:d122');
5 Comments
Guillaume
on 17 Apr 2018
Can you:
- type dbstop if caught error in the command line
- try your xlsread again
- tell us on which line of which file it breaks in the debugger
Since dbstop if caught error can get annoying very quickly, to return to normal operation, type
dbclear if caught error
afterward.
David Frew
on 17 Apr 2018
Edited: Guillaume
on 18 Apr 2018
Guillaume
on 18 Apr 2018
What happens if you execute these two lines:
excel = actxserver('Excel.Application');
version = get(excel, 'Version');
David Frew
on 19 Apr 2018
Walter Roberson
on 19 Apr 2018
You can do those at the command line. They are steps for debugging purposes.
Answers (0)
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!