I have a problem with model description language that Gillies
described in part D of the neuron tutorial,I wrote the NMODL code for CaT.mod. in a notepad ,I saved it, I got to the proper directory and "Make nrnmech.dll" to compile the mod files but how can I test it now?do I have to import it to the hoc inerpreter? to neuron GUI? After implementing the CaT code how do I inject a hyperpolarising
current (e.g. current injections at -0.1, -0.2, and -0.3 nA)
in CaT.mod so as to observe the T-type response that Gillies
mentions in the end of part D?How nrnmech.dll will be loaded and in which hoc file do I have to double click?
Thank you in advance!
NMODL
To start two ways of loading your new mechanism:
1. Put the nrnmech.dll that you built (it should be in the directory where you have the mod file) in the directory where you want to wite your hoc-code.
2. From the menu in the GUI: file-> load dll and then navigate to your dll.
To use the CaT create a section and then insert CaT
In the mod-file the name of the mechanism is behind the SUFFIX keyword:
Now you still have to add a stimulus. For this you can use IClamp which is used elsewhere in the tutorial.
The hoc-file containing the hoc-code can have any name you like.
(The finished tutorial code is provided on the website: http://www.anc.ed.ac.uk/school/neuron/.)
1. Put the nrnmech.dll that you built (it should be in the directory where you have the mod file) in the directory where you want to wite your hoc-code.
2. From the menu in the GUI: file-> load dll and then navigate to your dll.
To use the CaT create a section and then insert CaT
Code: Select all
create soma
access soma
soma {
insert CaT
}
Code: Select all
NEURON {
SUFFIX CaT
USEION ca READ eca WRITE ica
RANGE gmax
}
The hoc-file containing the hoc-code can have any name you like.
(The finished tutorial code is provided on the website: http://www.anc.ed.ac.uk/school/neuron/.)