pricklypear
PricklyPear matlab/neuron model
Installation
- Clone this repository or download and unzip on your computer
- Install Neuron from their website
- Compile the .mod files using nmodl
- In the
pricklypear/matlabdirectory, make a copy of thepp_dir.template.txtfile, rename it topp_dir.txtand edit the contents to reflect the location of the pricklypear directory
To test your installation:
- Test neuron
- Copy the files from the
neuron/eventtimesdirectory into theneurondirectory - Double click on the
msomodel_default.hoc - If the command window does not give any errors and the
data/_directdirectory contains multiple files named likerun_00001__vm_ad.txt, the neuron part of the pricklypear model is working
- Test Matlab
- Start Matlab and set the working directory to
pathto/pricklypear/matlabdirectory or add thepathto/pricklypear/matlabto the Matlab path - Execute
PP = pricklypear('debug'); - Execute
run(PP); - Execute
plot(PP(0)); - If you see a stacked plot of electrophysiology-like data, the Matlab part of the pricklypear model is working
Usage
- Start Matlab and set the working directory to
pathto/pricklypear/matlabdirectory or add thepathto/pricklypear/matlabto the Matlab path
Description
Languages
MATLAB
26.2%
NMODL
9.9%
XML
9.9%
Text
0.1%
Other
53.9%