i have a problem vector object
my code s folowing;
Code: Select all
objref data,dat1,f
data=new Vector()
f=new File()
f.aopen("ss.dat")
data1=new Vector()
data.record(&soma.v(0.5))
data1.record(&t)
for (i=0:data.x[i]>=4) { f.printf("%f\n",data1.x[i]) f.close()
break
}
}
when i write "print data.x[45]" in console, i don't variable and i have a error message that is "subscript out of range x"
You think where is error ? and also
is there anyway using variables of vector in neuron?
if you write code part , i will happy
just Now , thanks for your answers
best regard