How do I export the results of multiple 'runs' of my code to text without overwriting the previous run?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have been playing around with different parameters in my code and want to collect the results of all of this in one single text file. But each time I print the results of a specific run of my code with specific parameters it overwrites the last one. Is it possible to have one single text file that collects the results of each run of my code so that I can see on one page a list of results with their corresponding parameters?
Answers (1)
Sean de Wolski
on 21 Jul 2011
What are you using to write the data? If you look at
doc fopen
You can see the 'a' option for append.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!