Subsections

Recorder

This class allows you to record traces of any fields of any object during the simulation. The recorded traces of an Recorder with handle rec_idx can be obtained via

 R=csim('get',rec_idx,'traces');
The ecxact form of R depends on the flag commonChannels (see below). Note that the traces returned always start at time $t=0$ and are recorded at an interval of dt.

In addition a recorder can also record spikes from spike emitting objects. Via a command like

 csim('connect',rec_idx,neuron_idx,'spikes');
the Recorder with handle rec_idx is set up to record the spikes form the spike emitting objects with handles neuron_idx.

commonChannels=0 In this case the Matlab array R is a struct array with the only field channel which is in turn a struct array with the following fields:

commonChannels=1 In this case $\ast$$\ast$R has two fields (WARNING: no spikes are returned):

Read/writable Fields

commonChannels :
Flag: 1 ... output all channels in one matrix (WARNING: no spikes are returned yet), 0 ... output each recorded field as seperate channel
dt (sec) :
The timestep at which an recording should be done (no meaning if recording spikes).
Tprealloc (sec) :
Provide your best guess how long the network will be simulated (in simulation time).
enabled :
Flag: 0 ... recorder disabled, 1 ... recoder enabled