Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!b25g2000prb.googlegroups.com!not-for-mail
From: Brian Borchers <borchers.brian@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: run code on multiple xls files
Date: Sun, 4 Oct 2009 06:41:48 -0700 (PDT)
Organization: http://groups.google.com
Lines: 10
Message-ID: <53845a7f-45c7-4ff1-9d81-367280159b58@b25g2000prb.googlegroups.com>
References: <haa7r5$are$1@fred.mathworks.com> <e5213910-be0b-4624-9781-eb9b619b91b3@v2g2000vbb.googlegroups.com>
NNTP-Posting-Host: 71.222.215.247
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1254663708 14233 127.0.0.1 (4 Oct 2009 13:41:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 4 Oct 2009 13:41:48 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b25g2000prb.googlegroups.com; posting-host=71.222.215.247; 
	posting-account=EmSEdgoAAABmAH5eEkFTCMiZ14RLEfpQ
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) 
	Gecko/2009090216 Ubuntu/8.04 (hardy) Firefox/3.0.14,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:574798


>
> 1) Refactor the present code such that it takes two arguments,
>    the names of the input file and the output file
> 2) Write a loop that calls the '1-file code' and calls it
>    with each of the input/output pairs of file names.
>
> Rune

The "dir" command would be useful in finding all of the .xls files in
the current directory.