|
From: | David Bateman |
Subject: | Re: output question |
Date: | Mon, 29 Dec 2008 07:11:22 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
AlexRSS wrote:
An unbelievably ignorant question, but when I run Octave from the terminal in OSX and call a function that outputs data using printf, the values are only printed to the terminal after the function has finished running. How can I get Octave to print values to the terminal as a function is running (i.e., print the value to the terminal as the statement is evaluated while the function runs rather than printing all the values at the end of the function?
Try "more off" or add "fflush(stdout)" after the printf calls D. -- David Bateman address@hidden 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob)
[Prev in Thread] | Current Thread | [Next in Thread] |