Using NMODL files
For all versions of NEURON on MacOS and Linux, and NEURON 7.7+ on Windows:
In a terminal, navigate to the folder containing the
hhkchan.modfile and run the shell script:nrnivmodl
On a PC using a version of NEURON before 7.7:
mknrndllfrom the icon in the NEURON program group.
Navigate to the directory containing the desired mod files.
Select “Make nrnmech.dll” and the “mknrndll” script will create a nrnmech.dll file which contains the HHk model.
Using the location of
hhkchan.mod as the working directory, start NEURON by typing
python and then
from neuron import h, gui
Bring up a single compartment model with surface area of 100 µm2 () and toggle the HHk button in the Distributed Mechanism Inserter ON. Verify that the new HHk model (along with the Na portion of the built-in HH channel) produces the same action potential as the built-in HH channel (using both its Na and K portions).