start Neuron with a -c startment that has a string

The basics of how to develop, test, and use models.
Post Reply
oren
Posts: 55
Joined: Fri Mar 22, 2013 1:03 am

start Neuron with a -c startment that has a string

Post by oren »

Hello,
I want to send a string to Neuron when I load it
nrniv init.hoc -c "{strdef aa aa="123"}"

but the problem is that I can not use " inside the " and it does not except '

what can I do?

Thank You.
oren
Posts: 55
Joined: Fri Mar 22, 2013 1:03 am

Re: start Neuron with a -c startment that has a string

Post by oren »

Ok
all I needed to do is:
nrniv -c "{strdef aa aa=\"123\"}" init.hoc
Post Reply