help-octave
[Top][All Lists]
Advanced

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

Re: idle-time processing within octave


From: Richard KIrk
Subject: Re: idle-time processing within octave
Date: Wed, 5 Jun 2013 03:01:38 -0700 (PDT)

An uglier but more lightweight way to do the same thing might be to have a
parameter such as OCTAVE_COMMAND_FILE.

If octave has polled for keyboard input and hasn't found any, if
OCTAVE_COMMAND_FILE is set, it will try to read a command from that file,
then try to delete the file, and if it goes then execute the command. The
command gets executed as though the user had just typed it, and can get
interrupted with control-C.

This is how I talk to my image viewer. It's not wildly elegant, but it works
if you do not need fine-grained interactivity.

Cheers.
Richard KIrk







--
View this message in context: 
http://octave.1599824.n4.nabble.com/idle-time-processing-within-octave-tp4653734p4653736.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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