Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Recorder Class Reference

#include <mexrecorder.h>

Inheritance diagram for Recorder:

csimRecorder Advancable MexRecorder List of all members.

Detailed Description

Records fields from arbitrary objects during simulation.

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 **R has two fields (WARNING: no spikes are returned):

Public Attributes

Friends