load_file("nrngui.hoc")
// load_file("vecevent.ses") // creates a VecStim object called vs_VecStim[0]
objref evec
evec = new Vector(100) // will hold times at which the VecStim should generate an event
evec.indgen(5) // evec's elements are now 0, 1 . . . 99
// vs_VecStim[0].pp.play(evec) // the VecStim object generates events at t = 0, 1 . . . 99 ms
create soma
soma insert hh
objref vs
vs = new VecStim(0.5)
objref nc, synapse
soma synapse = new AmpaNmda(0.5)
nc = new NetCon(vs, synapse)
vs.play(evec)
nc.weight=1
load_file("runcntrl_graph.ses")
tstop=105