Insert Mechanisms in Matlab

Post Reply
chrysatbr
Posts: 1
Joined: Sun Jul 17, 2022 9:07 am

Insert Mechanisms in Matlab

Post by chrysatbr »

Hi everyone,

I'm a new user of Neuron and I try to expand a model with some mechanisms from senselab. I want to insert these in MATLAB but I cannot understand how can I turn on/off a mechanism.
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Insert Mechanisms in Matlab

Post by ted »

Most mechanisms used in NEURON are specified by code written in NMODL. To use them with NEURON it is necessary to compile the NMODL code with mknrndll (if you're using MSWin) or nrnivmodl (if you're using Linux or MacOS). If you then launch NEURON in the same directory where you compiled the NMODL file(s), NEURON will automatically read the file that contains the compiled code and make it available to whatever hoc or python-specified model that you are using.

MATLAB can't use NMODL code or the binary file generated by compiling NMODL code.
Post Reply