|
From: | Muthiah Annamalai |
Subject: | Re: display message |
Date: | Thu, 22 Nov 2007 13:28:29 -0600 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071022) |
John Jones wrote:
I'm running a long code and I would like octave to display some comments when different stages of the code are complete. I've been usingdisp('text.....')in matlab and this works fine. In octave it doesn't display the messages as the code is running but rather all together when it finishes. Not much use if the code takes several days! Any ideas?
use 'more off' in your code. Also use fprintf(' bla bla \n', x,y,z ) as that '\n' can flush the stdout and print the goo. So those are 2 hints. -Muthu
[Prev in Thread] | Current Thread | [Next in Thread] |