Page 1 of 1

using custom ion channels in neuron-python

Posted: Fri Apr 22, 2016 11:10 am
by lb5999
Hi NEURON Forum,

I am new (<12hrs) to using the python interface for NEURON. Looking forward to getting stuck in, but at the moment struggling to find info online with how to mknrndll my own .mod files in the python window.

Any tips on how to do this would be really appreciated!

I am using:
Anaconda 2 (Python)
NEURON 7.4 x86_64
Windows 8.1 Enterprise

Re: using custom ion channels in neuron-python

Posted: Fri Apr 22, 2016 10:54 pm
by ted
lb5999 wrote:struggling to find info online with how to mknrndll my own .mod files in the python window.
I'm not sure how that would be useful. You can't take advantage of the newly compiled mechanisms without first exiting NEURON, and if you're using NEURON as an extension to Python, that means you have to exit Python as well. Under MSWin either launch mknrndll by double clicking on it in the NEURON program group, or start a bash shell and then cd to the directory where your hoc, ses, and mod files are located. Once there, execute the command
mknrndll