help-octave
[Top][All Lists]
Advanced

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

Re: neural Network/optimization/perl


From: A+A Adler
Subject: Re: neural Network/optimization/perl
Date: Tue, 5 Oct 1999 19:22:14 -0400 (EDT)

On Tue, 5 Oct 1999, Daniel Heiserer wrote:
> is anybody working on/with a Neural/Network Toolbox for octave?
> Is anybody ................. Optimization Tooblox .......?
> ............................ coupling between perl and octave 
> (perl inside octave/octave inside perl)?

I call octave from perl and perl from octave all the time.

Normally i use

system(sprintf('perl -e %s', somestring)) from octave

and 

the converse from perl.

I communicate data between the two through files or pipes.


I had an idea of writing a perl_oct  perl module which would
open octave with a popen2 and would then use tie to tie
perl variables to octave variables. Communication perl/octave
would be by perl executing octave commands through stdin, stdout.

(I realize that this is a kludge; the proper way would probably
 be to link to liboctave, but that would be far too much work
 for the simple things I had in mind)

I got as far as testing the various parts to see that it
would work, but I don't think I'll ever get around to 
writing it.



______________________________________________________________
Andy Adler,                               address@hidden



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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