Path: news.mathworks.com!not-for-mail
From: "Dominic " <dcg48@cornell.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: file length
Date: Wed, 3 Jun 2009 18:33:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <h06fkt$nc9$1@fred.mathworks.com>
References: <h05vlj$csf$1@fred.mathworks.com> <h06437$kts$1@online.de> <h0663p$4te$1@fred.mathworks.com> <h06ctf$er4$1@fred.mathworks.com> <h06d81$850$1@fred.mathworks.com> <h06dme$7ii$1@aioe.org>
Reply-To: "Dominic " <dcg48@cornell.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1244053981 23945 172.30.248.37 (3 Jun 2009 18:33:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 3 Jun 2009 18:33:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1482806
Xref: news.mathworks.com comp.soft-sys.matlab:544608


dpb <none@non.net> wrote in message <h06dme$7ii$1@aioe.org>...
> Dominic wrote:
> > "Steven Lord" <slord@mathworks.com> wrote in message <h06ctf$er4$1@fred.mathworks.com>...
> ...
> >> ... use the wc system function.  This will give you, among other 
> >> information, the newline count for the file.  See "man wc" for more 
> >> information.
> ...
> > No I'm using Windows
> 
> There are any number of Windows ports--here's one...
> 
> "WordCount is a small freeware Windows 95/98/NT command-line program
> that counts characters, words and lines in one or more files -- my
> attempt to bring the features of the Unix "WC" utility to Windows...."
> 
> <http://www.tawbaware.com/wc.htm>
> 
> (google is your friend)
> 
> --

I am not familiar with that kind of program. Is it possible to call it in MATLAB? The way my program runs now I am working through an entire folder of .dat files using the dir command and a loop so that I run each file. 
Thank you,