vector continuous play - what to expect
Posted: Sun May 24, 2009 6:20 am
Hi All,
When running the following code:
What should be the value of variable "a" at the end of the simulation?
in "NEURON -- VERSION 6.0.795 (1556) 2006-09-21", a = 0 but in "NEURON -- Release 7.0 (281:80827e3cd201) 2009-01-16", a = 0.5
Is it a problem to assign discontinuous values in time as above?
Thanks,
Albert.
When running the following code:
Code: Select all
load_file("nrngui.hoc")
a = 0
objref vplay,tplay
vplay = new Vector()
tplay = new Vector()
vplay.append(0,0,1,1,0)
tplay.append(0,100,100,200,200)
vplay.play(&a,tplay,1)
tstop = 300
run()
in "NEURON -- VERSION 6.0.795 (1556) 2006-09-21", a = 0 but in "NEURON -- Release 7.0 (281:80827e3cd201) 2009-01-16", a = 0.5
Is it a problem to assign discontinuous values in time as above?
Thanks,
Albert.