How can I write out data from a simulation to another file? It used to be I could copy and paste from a data table, but that does not seem to be possible now. Do I need custom java code to create and write to a file? Thanks Tom
There are reading model elements, particularly for text files. To WRITE a file, you have to use plain Java.
Attached is an example of such a possible code that opens a text file and writes data to it as it gets generated. Don't forget to close the file before quitting the simulation. Study the code and you will quickly see how it works and be able to adapt it to your needs.
Paco
PS: We have done nothing to the data table that prevents it from copying and pasting. Please send me (fem@um.es) the example and I will have a close look at it.