help-octave
[Top][All Lists]
Advanced

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

Re: Text output to Octave Console Only appears at end of script instead


From: fork
Subject: Re: Text output to Octave Console Only appears at end of script instead of incrementally
Date: Tue, 3 Aug 2010 16:30:39 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I am an Octave script where I output  lines of diagnostic
> information as the script executes. Unfortunately right now, all of the text
> gets output at once after the script terminates. Is there a way to get the 
> text
> output to show up as it is generated.?

help fflush

But really I bet you want:

help warning

I would recommend trying to write diagnostics with warning(), which might handle
flushing, plus you can assign an ID to the warning which lets you turn it off
later. (like warning("MYID", "Be careful"); warning("off", "MYID");




reply via email to

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