help-octave
[Top][All Lists]
Advanced

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

Re: sending messages to an already-running instance of octave


From: Olaf Till
Subject: Re: sending messages to an already-running instance of octave
Date: Sun, 18 Jun 2017 17:39:10 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Sat, Jun 17, 2017 at 10:21:46PM -0700, Dan Hitt wrote:
> Suppose that i start octave from the command line or otherwise, and am
> interacting with it.
> 
> And suppose that i then run some other program.
> 
> Is there any way that the other program can send commands and data to
> my running octave, through dbus or any other ipc method?
> 
> The only requirements are that the user should not have to do anything
> to octave to make it respond (e.g., the user should not have to tell
> octave to open a particular file), and the other program and octave
> should be unrelated processes (although owned by the same user).
> 
> (The kinds of commands would be things that a user could presumably
> directly do, like make plots, or inquire about the internal state of
> octave, and the data would be numerical.)
> 
> TIA for any info or suggestions.

I think this would require a thread for remote execution in Octave, or
a mode of Octave in which every command is executed by an Octave
server. This is both not implemented.

Maybe there are ideas for alternative solutions if you detail your
needs.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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