HH potassium channel model

Download the hhkchan.mod file into an empty directory.

Part 1:

On a PC . . .

start a "mknrndll DOS box" and go to the directory that holds the hhkchan.mod file. Then enter the command
	mknrndll
and the "mknrndll" batch file will create a nrnmech.dll file which contains the HHk model.

On a unix workstation . . .

Go to the directory that holds the hhkchan.mod file and run the shell script
	nrnivmodl
This will create a new executable called "special" which is a complete copy of NEURON and also includes the HHk model.

Part 2:

Using the location of hhkchan.mod as the working directory, start NEURON with its standard GUI.
Under MSWin, NEURON automatically looks in the working directory for a nrnmech.dll file. Under UNIX, when you run the script nrngui in a working directory, it will automatically look for a special that you may have created in that directory. If it doesn't find one, it will execute the standard nrniv, which contains only the "built-in" mechanisms (hh, pas, IClamp etc..).
Bring up a single compartment model with surface area of 100 um2 (NEURON Main Menu / Build / single compartment) 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).


NEURON hands-on course
Copyright © 1998-2001 by N.T. Carnevale and M.L. Hines, all rights reserved.