Page 1 of 1

start Neuron with a -c startment that has a string

Posted: Fri Aug 08, 2014 9:12 am
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.

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

Posted: Fri Aug 08, 2014 9:19 am
by oren
Ok
all I needed to do is:
nrniv -c "{strdef aa aa=\"123\"}" init.hoc