Capturing terminal output to a file

A collection of noteworthy items selected by our moderators from discussions about making and using models with NEURON.

Moderators: wwlytton, tom_morse

Post Reply
ted
Site Admin
Posts: 5513
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Capturing terminal output to a file

Post by ted » Fri Apr 06, 2012 12:02 pm

Terminal output can be captured to a file with the hoc_stdout() procedure. Example:

Code: Select all

{hoc_stdout("temp")}
forall psection()
{hoc_stdout()}
For documentation of hoc_stdout() see http://www.neuron.yale.edu/neuron/stati ... #hoc_stdio

Post Reply