|
From: | Jeff |
Subject: | Re: |
Date: | Tue, 23 Jul 2013 22:32:36 -0400 |
On Tue, Jul 23, 2013 at 8:59 PM, Jeff <address@hidden> wrote:
I'm running in Linux. Linux usually lets you list files and pass them into programs, or pass the output of one program into another, etc. Is there a way to do that for Octave files, too?In other words, I want to program it so I can do something like thisls <select-specific-files> | makeGraph.mwhere makeGraph.m would then execute in Octave and process each file? Can I do that in Octave? How?
Perhaps I misunderstood what you really want, but could you just use glob()?Like :
fl = glob("*Beta=0195*.csv");
nfiles = rows(fl);for ii = 1:nfilesu1 = csvread(fl{ii});
...etc...endforDmitri.
--
[Prev in Thread] | Current Thread | [Next in Thread] |