sutapanaki
|
Hi,
I need to run MC simulation, say 100 runs, and for every single run of these 100 I want to keep saving a voltage to a text file, for ex. at the system clock and I want to do this as the simulation is running. It would be convenient to keep all files in the same directory of my choice, and not in the respective MC run directories. I know how to do the file saving part. What I can't figure out is how to name the files such that they don't over-write each other. Is there anything specific to the individual MC runs that I can include in the file name and how can I access that specific information from the simulation? For example, if I can include the MC run number it would solve the problem. Or maybe something else that distinguishes one MC run from another.
Thanks in advance.
|