Page 1 of 1

pass an array from hoc to a mod file

Posted: Tue May 16, 2017 8:07 am
by oren
Hello,
I am trying to pass a vector (with values) to a mod file. Is it possible? do you an example of doing it? I do not know exactly how to write the mod file so it will accept a hoc Vector.

Thanks.

Re: pass an array from hoc to a mod file

Posted: Tue May 16, 2017 10:45 am
by ted
The appropriate answer depends on why you want to do this. Do you want to
--force some variable to follow a time course specified by the values in the vector
--use the values as entries in a lookup table that defines the voltage-dependence of rate constants

Or is there something else you're trying to do?