So far we have generated three independent objects and set
their fields to the desired values. Now we have to connect the objects
to implement our simple model. We have to connect the input i
to the synapse s and the synapse to the neuron n:
» csim('connect',n,s); % synapse to neuron
» csim('connect',s,i); % input to synapse
Note the the connect command uses the convention
that the signal destination is the first argument. Alternatively one
can use the three argument form of the command:
» csim('connect',n,i,s); % input to neuron via synapse