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
Use fflush(stdout) and/or fflush(stderr) to flush the buffer from disp().