Error using xlsread (line 251) Error: Unspecified error
2 views (last 30 days)
Show older comments
My xlsread works generally. All of a sudden today, it shouted this error with the same code I have been using since ages. I am running on 2017b version. I have tried all suggestions such as changing excel sheet format, changing the adds-in option in the excel file menu. I trial tested running code on other computer with 2017b and it works. Something went pear shaped with my computer MATLAB. I am quite desperate to rectify this since its one of my basic codes which is followed by main analysis. Seems like a bug which can be corrected. I would extremely if anyone could suggest anything?
1 Comment
OCDER
on 6 Nov 2017
Does xlsread work by itself?
[filename, filepath] = uigetfile('*.xlsx');
[a, b, c] = xlsread(fullfile(filepath, filename)) %Error?
If no error, then something is odd with the code. What is your code?
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!