Error Message xlsread (R2009b)

1 view (last 30 days)
DNANDREA
DNANDREA on 29 Dec 2012
I've already saved the folder containg my file, but i got this error message..
>> u=xlsread('C:\Users\xxx\Desktop\Data_ implementazione\DATA_291212','Bid - Ask Prices 2002_D','B10:GS2712');%the matrix of numbers
??? Error using ==> xlsread at 219 XLSREAD unable to open file C:\Users\xxx\Desktop\Data_ implementazione\DATA_291212. File C:\Users\xxx\Desktop\Data_ implementazione\DATA_291212.xls not found.
I have also tried this:
>> [type, sheets] = xlsfinfo('DATA_291212.xls') ??? Error using ==> validpath at 42 File C:\Users\xxx\Desktop\Data_ implementazione\DATA_291212.xls not found.
Error in ==> xlsfinfo at 40 filename = validpath(filename,'.xls');
Could you please help me figure it out?
Many thanks

Answers (2)

Image Analyst
Image Analyst on 29 Dec 2012
That file does not exist, at least not in the folder you specified. That's what "not found" means. You must have misspelled either the folder or the filename, or it's in a different folder, like on your desktop itself, rather than the Desktop\Data_ implementazione subfolder.

Gadi
Gadi on 31 Dec 2012
Is it possible that the file is an ".xlsx" extension?

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!