Sorry for the incovenience but I have misled something.I have this .mod file:
Code: Select all
TITLE HCN channel
NEURON {
SUFFIX HCN
USEION hcn READ eh WRITE ih
RANGE ghbar, ih
GLOBAL finf,ftau
}
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
(S)=(siemens)
}
PARAMETER {
ghbar=1.01e-6 (S/cm2)
Q10 = 2.0 (1)
Q10TEMP = 22 (degC)
}
STATE {
f
}
ASSIGNED {
v (mV)
celsius (degC)
eh (mV)
ih(mA/cm2)
finf
ftau (ms)
qt (1)
}
INITIAL {
rates(v)
f = finf
qt = Q10^((celsius-Q10TEMP)/10)
}
BREAKPOINT {
SOLVE states METHOD cnexp
ih=ghbar*f*(v-eh)
}
DERIVATIVE states {
rates(v)
f' = (finf - f)/ftau
}
UNITSOFF
PROCEDURE rates(v(mV)) {
TABLE finf, ftau DEPEND celsius FROM -100 TO 100 WITH 200
ftau = 1/(exp(-14.59-0.086*v)+exp(-1.87+0.0701*v))
finf = 1/(1+exp((v+75)/5.5))
}
UNITSON
loading membrane mechanisms from nrnmech.dll
Additional mechanisms from files
HCN.mod
hcn_ion ion valence must be defined in
the USEION statement of any model using this ion
NEURON exited abnormally...
I have no problem with the compilation 'nrnmech.dll was built succesfully'