f



How to read in all excel files from a excel file folder

Hello!

I#ve one question. I want to read in all excel files from a file
folder into matlab.
How can i create a m.file witch reads in all my excel files?????

thx
i
0
irisegg (1)
9/14/2006 10:45:03 AM
comp.soft-sys.matlab 211266 articles. 21 followers. lunamoonmoon (257) is leader. Post Follow

1 Replies
577 Views

Similar Articles

[PageSpeed] 46

first get all files into a variable:
FileNames=dir('*.xls');

then crate a loop to open each excelfile:
for i=1:size(FileNames,1)
A=xlsread(Filenames(i,1).name;
end

good luck

 Iris E.. wrote:
>
>
> Hello!
>
> I#ve one question. I want to read in all excel files from a file
> folder into matlab.
> How can i create a m.file witch reads in all my excel files?????
>
> thx
> i
0
9/14/2006 11:44:18 AM
Reply: