i am writing a mod file in neuron and i have no error for compiling.
But, i could not get soma voltage values for at t time.
i didn't understant what it is problem.
my code was shown folowing
Code: Select all
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S) = (siemens)
}
NEURON {
SUFFIX fhn
RANGE x,w
}
PARAMETER {
ep = 0.01
a=0.99
}
STATE {
x w
}
ASSIGNED {
}
BREAKPOINT {
SOLVE states METHOD cnexp
}
INITIAL {
x=0
w=0
}
? states
DERIVATIVE states {
x' =(1/ep)*(x-(x*x)/3-w)
w' = x'+a
}
best regards