Hello to everybody.
I have this simulation that implements some physical system. I get my results on a file using function fprintf. It-s a long Montecarlo simulation that gets one result in about half an hour. I have to collect much results and I write them on the same file.
My problem is:
the file seem to get an update only when the simulation writes about 300 results, so I can't get a satisfying control on the results of my program.
Is there a way to get results more often, or to control my variable in real time maybe (I'm not so used to programming language)?
(I've already tried writing on the file with higher frequency, but I'd like to find a more straightforward way).
Thank you very much