Search found 4 matches
- Wed Jul 09, 2008 2:03 pm
- Forum: Other questions
- Topic: strings as variable's name...
- Replies: 2
- Views: 2667
Re: strings as variable's name...
b) To compare strings use strcmp SYNTAX x = strcmp("string1", "string2") DESCRIPTION return negative, 0, or positive value depending on how the strings compare lexicographically. 0 means they are identical. Example if ((strcmp(secname(),"dend10[9]"))==0){ stimuli = new ...
- Wed May 09, 2007 10:51 am
- Forum: Other questions
- Topic: NEURON's 'vector.play' implies a membrane current?
- Replies: 5
- Views: 5506
- Wed May 09, 2007 4:27 am
- Forum: Other questions
- Topic: NEURON's 'vector.play' implies a membrane current?
- Replies: 5
- Views: 5506
Thanks for the answer - good to hear there is no mysteries :-) However, I'm not sure I got it, at least not from an electric circuit perspective: I only have passive channels in soma, which produce two branches in my soma compartment, one with a capacitive and one with a resistive current. In additi...
- Tue May 08, 2007 9:17 am
- Forum: Other questions
- Topic: NEURON's 'vector.play' implies a membrane current?
- Replies: 5
- Views: 5506
NEURON's 'vector.play' implies a membrane current?
I am using NEURON's play command to insert boundary conditions to the soma potential in a realistic neuron model. However, I was not able to find out how the play command works - does it introduce a new "membrane current" to achieve the right potential? When I insert an extracellular layer...