Subsections
reset
csim('reset'); resets the simulation time t back to
t=0.0.
Single-stimulus simulate
- csim('simulate',Tsim,InputSignals); runs the network
simulation for Tsim seconds starting at the time where the
last simulate command stopped with input signals
InputSignals.
- csim('simulate',Tsim,I1,I2,...,In); same as above but
with input signals I1 to In. There is no special
meaning in the ordering of the input signals. It is equvivalent to
concatenate I1 to In into one struct array and
pass this array as the single input signal.
- R=csim('simulate',Tsim,InputSignals);
same as
csim('simulate',Tsim,InputSignals); but in addition returns
the cell array R which holds the output
(traces) of all Recorder objects.
- R=csim('simulate',Tsim,I1,I2,...,In);
same as
csim('simulate',Tsim,I1,I2,...,In); but in addition returns
the cell array R which holds the output
(traces) of all Recorder objects.
- R=csim('simulate',Tsim,I1,I2,...,In);
same as
csim('simulate',Tsim,I1,I2,...,In); but in addition returns
the cell array R which holds the output
(traces) of all Recorder objects.
Multi-stimulus simulate
R=csim('simulate',Tsim,S); runs n network simulations for
Tsim sec. The network is reset to t=0 before each
simulation.
The n simulations are determined by the n x 1 strucht array
S where S(i).channel specifies the stimulus for the
i-th simulation (see Section 3.1.2).
R contains the reorded values of all n simulations (see
Section 3.2.2).
If the distributed simulation is on (see command
pvm), the n simulations will be carried out in
parallel.