help-octave
[Top][All Lists]
Advanced

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

Re: importing a matrix from stdout of another program


From: Vic Norton
Subject: Re: importing a matrix from stdout of another program
Date: Fri, 22 Jul 2005 15:35:49 -0400

Hmmmm... I'll have to look into "Inline::Octave". I call Octave from within Perl all the time. To run the Octave script "spdrOut13.m" from Perl I just write
   `octave "$octavedir/m/spdrOut13.m"`;
in my Perl script.

- Vic

At 12:51 PM +0200 7/20/05, Andrass Ziska Davidsen wrote:
On Tue, 2005-07-19 at 08:42 -0500, Mike Miller wrote:
 I have a perl program that will produce a matrix in its standard output.
 I want to be able to bring that matrix into Octave directly, if possible.

Apart from your own answer, I should mention that there exists a Perl
module called Inline::Octave, which allows you to do it from the other
end: Calling Octave from within Perl. See:

http://search.cpan.org/~aadler/Inline-Octave-0.22/Octave.pm


--
Andrass Ziska Davidsen
M.Sc. Offshore Construction



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------


--
*---* http://www.ridehsta.com
|     Vic Norton
|     Bowling Green, OH
|     BMW R1200GS (2005)
*---* http://vic.norton.name/moto



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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