Path: news.mathworks.com!not-for-mail
From: "Koos Spee" <bmx_360@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Wavread loop: Variable filename
Date: Thu, 18 Sep 2008 11:24:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <gatdoi$cif$1@fred.mathworks.com>
References: <gat6nh$c36$1@fred.mathworks.com> <gata66$d30$1@fred.mathworks.com> <gatahf$fsi$1@fred.mathworks.com>
Reply-To: "Koos Spee" <bmx_360@hotmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1221737042 12879 172.30.248.38 (18 Sep 2008 11:24:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 18 Sep 2008 11:24:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1512748
Xref: news.mathworks.com comp.soft-sys.matlab:490756


Great!!

> 
> Should have tested!
> 
> files=dir('*.wav');
>   for n=1:length(files);
>   files(n).data=wavread(files(n).name);
> end
>