pass an array from hoc to a mod file

NMODL and the Channel Builder.
Post Reply
oren
Posts: 55
Joined: Fri Mar 22, 2013 1:03 am

pass an array from hoc to a mod file

Post 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.
ted
Site Admin
Posts: 6289
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: pass an array from hoc to a mod file

Post 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?
Post Reply