Dear All, 
I am going to add weights for excitatory and inhibitory synaptic currents according to this equation:

Inline image
can you help me how I can add S(Wji) to a simple neuron model like one I attached to this email?
Thanks and BR, 
Atiyeh