Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: if more than a file in dir execute code
Date: Sun, 4 Oct 2009 05:13:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <ha9ast$c8q$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1254633181 12570 172.30.248.38 (4 Oct 2009 05:13:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 4 Oct 2009 05:13:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1710231
Xref: news.mathworks.com comp.soft-sys.matlab:574732


Hi,

How can I code the following in matlab?

If there is more than 1 xls file in the current directory then execute a given comman.

Thanks !