[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: monitoring iterations
From: |
John W. Eaton |
Subject: |
Re: monitoring iterations |
Date: |
Sun, 19 Aug 2007 23:44:15 -0400 |
On 20-Aug-2007, antonio palestrini wrote:
| Thank you all for answering so quickly,
| the "more off" switch works,
| while "fflush();"
| produces the following error (both on my mac and linux)
| --------------------------
| for t = 1:10
| disp(t);
| fflush ();
| endfor
| 1
|
| *** fflush:
|
| -- Built-in Function: fflush (FID)
| Flush output to FID. This is useful for ensuring that all
| pending output makes it to the screen before some other event
| occurs. For example, it is always a good idea to flush the
| standard output stream before calling `input'.
|
| `fflush' returns 0 on success and an OS dependent error value
| (-1 on unix) on error.
| See also: fopen, fclose.
Try
fflush (stdout)
jwe