Hi Hannah,
yes, the tuned J_i values can be written out by adding a loop that iterates over the variable where the tuned values are stored and writing it into a file, like this:
out_file = fopen("my_output_file.txt", "w");
for (j=0; j < nodes; j++) {
fprintf(out_file, "%.6f\n",J_i[j]);
}
fclose(out_file);
Please see here
an example from a similar code that also tunes long-range excitation and feedforward inhibition in addition to J_i.
Best,
Micha