Saving output to txt/CSV file?

That works! Thanks a lot!

julia> fieldnames(typeof(sim_result))
(:n_params, :n_accepted, :n_tries, :threshold, :population, :distances, :weights)

julia> DelimitedFiles; writedlm("output.txt", sim_result.:population)

julia>
1 Like