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

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

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:

  • : handle of the object from which field the data was recorded

  • : binary flag (0/1) which determines if data should be interpreted as spike times or as an analog signal

  • : time discretization; for analog signals only

  • : signal data : vector of the analog values or spike times.

  • : name of the recorded field

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

  • : A double array where,s) is the s -th recorded value of the j -th field.

  • : A struct array where is the handle of the object from which the field is recorded.

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

(C) 2003, Thomas Natschläger last modified 07/10/2006