Running NEURON

Windows

Unix

 

Running NEURON Under Windows (95/98/NT)

Running your Simulation

To start NEURON, select "nrngui" from the Start->Programs->Neuron menu.

Alternatively, to run a simulation involving "hoc" files you have written, open the folder containing your "hoc" files in a file manager window. Double click on the main "hoc" file of your simulation and it will run.

On-line help is available also from the Start->Programs->Neuron menu.

Running the Demo

From the "Start" menu select "Programs", then "Neuron" and finally "NEURON demo". A number of windows will appear on your screen.

To run one of the examples, click on its button in the top window labelled "NEURON Demonstrations". Many more windows will appear. You may like to move them around so you can see things better. To start any of the simulations, click on "Init & Run" in the "RunControl" window.

To exit NEURON, select "Quit" from the "File" menu in the "NEURON Main Menu".

Building NMODL files

Select "mknrndll" from the "Neuron" menu under "Programs" in the "Start" menu. Change to the folder (directory) containing your "mod" files. Click "Make nrnmech.dll" when you are in the correct folder and NEURON will build a "nrnmech.dll" file in that folder (this may take sometime; and assumes there are no errors in your "mod" files).

 

Running NEURON Under Unix

Running your Simulation

To run a simulation, at a Unix command prompt, type "nrniv filename.hoc -" (where filename is the actual name of your file). Please note: the trailing "-" is important.

Running the Demo

To run the demonstration, at a Unix command prompt, type "nrndemo". A number of windows will appear on your screen.

To run one of the examples, click on its button in the top window labelled "NEURON Demonstrations". Many more windows will appear. You may like to move them around so you can see things better. To start any of the simulations, click on "Init & Run" in the "RunControl" window.

To exit NEURON, select "Quit" from the "File" menu in the "NEURON Main Menu".

Building NMODL files

Change to the directory containing your "mod" files and type "nrnivmodl" at the Unix prompt and NEURON will build a "special" version of itself in a subdirectory of the name of your CPU (e.g. "sparc"). Use this version to run your simulations that need these "mod" files e.g. "sparc/special filename.hoc -".

 

 
If you have comments or suggestions, email me at b.graham@cs.stir.ac.uk