help-octave
[Top][All Lists]
Advanced

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

dir and path help


From: dirac
Subject: dir and path help
Date: Tue, 7 Sep 2010 07:41:36 -0700 (PDT)

Hi everyone,

I want to do some batch analysis i.e. I want to operate some function on a
whole folder. In the function I need to input the file name like so:

 >>Function(filename)

I can see that something like:

 >>a=dir('*.dat')

will list all of the files in the directory, but I want to perform this
function on another folder where the source files are kept. Is this
possible? I was looking in to the functions path and addpath, but cant seem
to get anywhere.

Thanks in advance :)

Martin

-----
So many functions I don't know about!
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/dir-and-path-help-tp2529824p2529824.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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