HH potassium channel model

Download the hhkchan.mod file into an empty directory.

Part 1:

On a PC ...

start a dos box and execute (in the directory holding the hhkchan.mod file)
	mknrndll
	single
The "mknrndll" batch file creates a nrnmech.dll file which contains the HHK model. The "single" batch file launches NEURON.EXE which always looks in the working directory for a nrnmech.dll file and then loads the nrn/lib/hoc/single.hoc which starts the NEURONMainPanel with a 100 um2 soma compartment.

On a unix workstation ...

run the following shell script in the directory containing the hhkchan.mod file.
	nrnivmodl
	single
The nrnivmodl shell script will create a new executable called "special" which is a complete copy of NEURON and also includes the HHk model. The "single" shell script launches "special" if it exists in the working directory and then loads the $NEURONHOME/lib/hoc/single.hoc which starts NEURONMainPanel with a 100 um2 soma compartment.

Part 2:

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).


NEURON summer course
Copyright © 1998, 1999 by N.T. Carnevale and M.L. Hines, all rights reserved.