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

Respuestas (2)

Image Analyst
Image Analyst el 29 de Dic. de 2012

1 voto

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 el 31 de Dic. de 2012

0 votos

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

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 29 de Dic. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by