Search found 2 matches

by thuney
Wed Jan 11, 2006 6:20 am
Forum: Getting started
Topic: How to Import External Variables Into a Template
Replies: 3
Views: 6588

Thx very much for replying. My code looks the following way: begintemplate AxonTemplate external nerveSpacingSource, nodesCountSource ... proc numberOfNodes(){ totalLength = nodelength + 2*paralength1 + 2*paralength2 + 6*interlength print totalLength numberOfNodes = nerveSpacingSource * (nodesCountS...
by thuney
Tue Jan 10, 2006 11:07 am
Forum: Getting started
Topic: How to Import External Variables Into a Template
Replies: 3
Views: 6588

How to Import External Variables Into a Template

I'm trying to stimulate a nerve bundle, so I thought an easy way to do this is with a template. I made the template in a file called MRGaxon.hoc the file looks the following way: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx begin template AxonTemplate ... proc numberOfNodes(){ totalLen...