|
From: | Peter Cloetens |
Subject: | Re: client/server operation of octave? |
Date: | Wed, 10 Jan 2007 17:28:10 +0100 |
On Jan 10, 2007, at 4:56 PM, Tino Scherrer wrote:
-----Ursprüngliche Nachricht----- Von: David Bateman <address@hidden> Gesendet: 10.01.07 15:42:08 An: "Sean O'Rourke" <address@hidden> CC: address@hidden Betreff: Re: client/server operation of octave?Sean O'Rourke wrote:Tino Scherrer <address@hidden> writes:Dear all, for the integration of octave into a development environment I'd need some means to control octave and receive it's output. Ideally this would work by starting octave as sort of server and connect the development tool as client through a socket connection. Is such a modeavailable for octave?Try "attachtty," which even works over ssh. Combined with "rlwrap" or Emacs's `inferior-octave', it's quite convenient.Or the octave-forge "engine" package..Just had a look. Yes, that's how I'd do it in principle if octave doesn't allow connection through sockets. Only that I need the in/ output redirection from Java. So I guess I cannot use the engine library, but of course it will help me with a Java class for the same purpose.However, I think I prefer patching the octave in/output function to allow communication through sockets. Has this never been done before? Then I'll give it a try.Thanks Tino
We use code by Brian Blais available from http://web.bryant.edu/~bblais/octave/ to communicate through sockets (see sopen.tar) . We use it to use ImageJ together with octave. In this case ImageJ is server and octave is client. Peter
[Prev in Thread] | Current Thread | [Next in Thread] |