Page 1 of 1

batch for interaction Scilab-NEURON

Posted: Mon May 30, 2011 5:09 pm
by erick_valpo
Hello everyone.
I'm using a batch script wrote for Scilab, in which I run a simulation in NEURON thought the line

Code: Select all

host ('nrngui -nogui iteration.hoc')
Now I'm trying to do it on windows OS, but it doesn't work.
'host' command in scilab is able to perform DOS command execution.

Thanks.

Re: batch for interaction Scilab-NEURON

Posted: Mon May 30, 2011 10:01 pm
by ted
What is the error message?
Is the location of nrngui in MSWin's "path" environment variable? If not, either add it to the path, or explicitly include it in the command string you're trying to execute.

Re: batch for interaction Scilab-NEURON

Posted: Tue May 31, 2011 2:03 pm
by erick_valpo
Thank you Ted,
I explicitly include the path to nrngui in the Scilab command, (one of your proposed solutions), and it's work.