User Documentation
Level: Advanced
Level: Advanced
Segmenting a simulation of a model network – 3. Run a segmented simulation and save its results
In this part you will start to implement recording and saving of a segmented simulation, I followed a pattern similar to what worked for a full run.
Create a hoc file called netrecord_segrun.hoc that contains statements that execute a user-specified number of simulation segments and save each segment's results to a separate file.
Copy initnet_fullrun.hoc to initnet_segrun.hoc, and edit this new file to change the load_file("netrecord_fullrun.hoc") statement to load_file("netrecord_segrun.hoc").
Create a hoc file called netrecord_segrun.hoc that contains statements that execute a user-specified number of simulation segments and save each segment's results to a separate file.
Copy initnet_fullrun.hoc to initnet_segrun.hoc, and edit this new file to change the load_file("netrecord_fullrun.hoc") statement to load_file("netrecord_segrun.hoc").