Error Message xlsread (R2009b)
Mostra commenti meno recenti
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
Risposte (2)
Image Analyst
il 29 Dic 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
il 31 Dic 2012
0 voti
Is it possible that the file is an ".xlsx" extension?
Categorie
Scopri di più su File Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!