Error Message xlsread (R2009b)

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

Réponses (2)

Image Analyst
Image Analyst le 29 Déc 2012

1 vote

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 le 31 Déc 2012

0 votes

Is it possible that the file is an ".xlsx" extension?

Catégories

En savoir plus sur File Operations dans Centre d'aide et File Exchange

Tags

Question posée :

le 29 Déc 2012

Community Treasure Hunt

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

Start Hunting!

Translated by