Capturing terminal output to a file
Posted: Fri Apr 06, 2012 12:02 pm
Terminal output can be captured to a file with the hoc_stdout() procedure. Example:For documentation of hoc_stdout() see http://www.neuron.yale.edu/neuron/stati ... #hoc_stdio
Code: Select all
{hoc_stdout("temp")}
forall psection()
{hoc_stdout()}