Page 1 of 1

error message during nrnivmodl

Posted: Wed Dec 21, 2005 8:19 am
by sidirop
Dear everyone,

During mod file compilation, I get the following error message:
"cai used both as variable and function at line 173 in file..."
The line that the error message is refering to is the last line of the file.
cai is part of the rate function that is called in the derivative, initial and procedure blocks and is used in the calculation of the procedure functions (ex. m_inf and tau_m). cai is also part of the breakpoint equation that computes the current. (cai is computed in a sepearate mod file).

I would really appreciate it if you could give me an insight of what the problem might be.

Thank you very much in advance.

Kiki Sidiropoulou
IMBB-Crete

Posted: Sun Dec 25, 2005 7:34 pm
by ted
It's hard to tell what's wrong with code without seeing it. Post your mod file
on the forum and then maybe someone can tell you how to fix it.