help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting number of files in a folder


From: Sergei Steshenko
Subject: Re: Getting number of files in a folder
Date: Wed, 17 Mar 2010 19:15:41 -0700 (PDT)


--- On Wed, 3/17/10, Journeaux, Ian <address@hidden> wrote:

> From: Journeaux, Ian <address@hidden>
> Subject: Getting number of files in a folder
> To: "address@hidden" <address@hidden>
> Date: Wednesday, March 17, 2010, 1:31 PM
> I would like to get the number of
> files in a folder (The files are of the form file0001.txt)
> so I can loop through each one of the files.
> 
> Is there a way to do this within Octave?
> This electronic message contains information from NewPage
> Corporation or subsidiary companies, 
> which may be confidential, privileged or otherwise
> protected from disclosure. The information is 
> intended to be used solely by the recipient(s) named. If
> you are not an intended recipient, be 
> aware that any review, disclosure, copying, distribution or
> use of this transmission or its 
> contents is prohibited. If you have received this
> transmission in error, please notify NewPage 
> immediately at address@hidden
> 
> 

Probably

[files, err, msg] = readdir (dir) 

can help.

Regards,
  Sergei.


      


reply via email to

[Prev in Thread] Current Thread [Next in Thread]