template and morphological data
Posted: Sat Sep 22, 2007 1:27 pm
hi.I have morphological data of one cell in a file (I call it md.nrn), which I want to include to Template,
I defined the soma and dendrites which are created at md.nrn by ‘external’, I wrote like this:
I defined the soma and dendrites which are created at md.nrn by ‘external’, I wrote like this:
but this error comes:load_file("md.nrn")
begintemplate Cell
external soma, dend1,dend2
public axon,
create axon
connect soma(1),axon(0)
….
endtemplate Cell
why? how can I use morphological data in a Template?nrniv: axon : section was deleted
in C:/……/temp.hoc near line 59
connect soma(1),axon(0)
^