Adding a synapse

Managing anatomically complex model cells with the CellBuilder. Importing morphometric data with NEURON's Import3D tool or Robert Cannon's CVAPP. Where to find detailed morphometric data.
Post Reply
maria.kesa
Posts: 36
Joined: Thu Nov 12, 2015 10:45 am

Adding a synapse

Post by maria.kesa » Mon Dec 28, 2015 11:33 am

Hello,

I'm working with this model https://senselab.med.yale.edu/ModelDB/S ... del=150288

I'm a beginner. I'm trying to dissect how the model works and run small pieces of it. So far I have this code:

Code: Select all

load_file("nrngui.hoc")
load_file("LAcells_template.hoc")
load_file("interneuron_template.hoc")

objectvar cell_exc, cell_inh
cell_exc=new Cell_A()
cell_inh = new InterneuronCell() 

cell_exc.dend syn = new pyrD2pyrD_STFD(0.9)
I get a syntax error and I can't figure out why. Could you help me out and tell me what I'm doing wrong?

syntax error
in simulation.hoc near line 9
cell_exc.dend syn = new pyrD2pyrD_STFD(0.9)
^

maria.kesa
Posts: 36
Joined: Thu Nov 12, 2015 10:45 am

Re: Adding a synapse

Post by maria.kesa » Mon Dec 28, 2015 11:38 am

Oops, got it you have to do

Code: Select all

objref syn 
I found it in the NEURON book.

My question is, how come in this file https://senselab.med.yale.edu/ModelDB/S ... oCells.hoc
there is no objref? Is it because it's a function?

Thanks,

Maria

ted
Site Admin
Posts: 5218
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Adding a synapse

Post by ted » Mon Dec 28, 2015 12:49 pm

maria.kesa wrote:how come in this file https://senselab.med.yale.edu/ModelDB/S ... oCells.hoc
there is no objref?
That file contains many statements. Which statement violates your expectations?

Post Reply