Connecting a new section to your model within a process or function
Posted: Tue Jan 08, 2019 3:02 pm
Hello, I am trying to add new sections to an existing model. I can create the new sections and successfully access the sections of the old model that I want to connect them to (using forsec), however, I get a syntax error when trying to connect them together. This only seems to occur while working within a function or process (See example code below). Any suggestions?
Code: Select all
create soma
access soma
proc ConnectAnAxon() {
create axon[3]
connect axon[0](0), 1
}