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: ted, wwlytton, tom_morse

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

Capturing terminal output to a file

Post by ted »

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