Simulation done/finished event in jNeuroML?

34 Views Asked by At

Is there some event mechanism that could let me know if the simulation is finished?

I have a LEMS file that is simulated in NEURON with:

jnml LEMS_file.xml -neuron -run

the GUI stays open after the simulation is done.

1

There are 1 best solutions below

0
On BEST ANSWER

At least with LEMS -> NEURON simulations, the -nogui flag will run the simulation till the end and then close NEURON.

jnml LEMS_file.xml -neuron -run -nogui

Any commands after this one will be executed after the simulation is finished.