I have a program in Octave that has a loop - running a function with various parameters, not something that I can turn into matrices. At the beginning of each iteration I p
drawnow will cause graphs to update, I'm not sure if it works on the stdout pipe as well.
drawnow
stdout
You might also convert your disp(...) statements to fprintf(stderr, ...), I think stderr is handled differently from stdout on Octave.
disp(...)
fprintf(stderr, ...)
stderr