Running the network simulation
Subsections

Running the network simulation

reset

csim('reset'); resets the simulation time t back to t=0.0.

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.

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