mcdougallab / matlabneuroninterface

Interface for connecting NEURON and MATLAB
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Allow inserting point processes defined by MOD files #10

Closed ramcdougal closed 1 year ago

ramcdougal commented 3 years ago

The basic functionality is critical (e.g. to handle a MOD-file synapse mechanism) but it requires something more general than the IClamp class in the using-python branch which is for that MOD file mechanism only. This can probably be done without creating a fully dynamic interface though using some generic PointProcess class.

ramcdougal commented 1 year ago

This probably already works, but it hasn't been tested.

edovanveen commented 1 year ago

See https://nrn.readthedocs.io/en/8.2.2/guide/faq.html#how-do-i-compile-mod-files

ramcdougal commented 1 year ago

Example mod file:

https://senselab.med.yale.edu/modeldb/getModelFile?model=87284&AttrID=23&s=yes&file=/%2fCA1_abeta%2fh.mod

Compile with nrnivmodl, use nrn_load_dll with a path to load the generated dll file.

edovanveen commented 1 year ago

I tried this (see PR #59) and it worked out of the box!