help-octave
[Top][All Lists]
Advanced

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

Re: Printing Status from .m files


From: JIANG MING
Subject: Re: Printing Status from .m files
Date: Sat, 6 Sep 1997 15:05:16 +0200 (MET DST)

use fflush(stdout);



On Fri, 5 Sep 1997, Andy Adler wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> I'm in the process of converting .m files from Matlab to
> octave. Most of the time I find I prefer the way octave does it,
> when there's a difference, but sometimes I'd like the Matlab 
> behaviour.
> 
> When I have a long function, I often print status messages like
>  Foobar: iteration 2 of 666 completed.
> 
> In matlab, these show on the screen immediately, but octave waits
> until the control is returned to the user, making the status 
> messages useless. 
> 
> My question is:
> 
> Is there any way to force octave to print the text immediately?
> 
> Thanks for any help.
> _____________________________________________________________________
> Andy Adler,    | Pulmonary Physiology Unit         | Lab 303-398-1626
> address@hidden | National Jewish Center,Denver,USA | Fax 303-398-1607
> 
>    For the Snark _was_ a Boojum, you see.    -Lewis Carroll
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: noconv
> 
> iQCVAwUBNBBWExSHDFEuY1DZAQEYvwP+II5CC0B7e6FnppBxf+hLhYVYOtKX3TjW
> +YsugJx/AvplMIIFKpziaaPVxfcpu5ysmBIlzcAKBvODbtOd6KZ4d6DQm42Z1Dny
> OPuyjD1GGWQ83AZZ37BSHhc/Kbo5e2DlDgBQrO56skPF4Pe9x6eOmk4AipTqA7o5
> Jkk+/0EQoFY=
> =TjnO
> -----END PGP SIGNATURE-----
> 



reply via email to

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