help-octave
[Top][All Lists]
Advanced

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

Re: Octave prompt delay?


From: David Bateman
Subject: Re: Octave prompt delay?
Date: Mon, 08 May 2006 20:02:42 +0200
User-agent: Thunderbird 1.5 (Windows/20051201)

Bill Denney wrote:
On Mon, 8 May 2006, Matthias Brennwald wrote:

When I run this file in Octave, Octave seems to be too busy to
display the first message while executing the fft. The first messages
is printed on the screen only after the fft is done. Is there a way
to make Octave 'flush' its 'disp' command(s) before starting the fft
(or any other heavy task)?

You want to use the

more("off")

command before running your script. That will disable buffering of output.

Etienne, could you add this to the FAQ?

Bill

more("off") might not be sufficient in some cases (when printing partial lines for examples), though it is sufficient in the above case. In octave you can use fflush(stdout) if you really do want to flush the output...

D.


reply via email to

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