Page 1 of 1

Updating procedures

Posted: Tue Oct 28, 2014 6:55 am
by claudioez
Dear Ted,

Probably this question came up before but I couldn´t find it. Being a total newbie, I created a GUI (using xpanel) that suited my particular needs for exploratory experiments. I start neuron by loading a set of .hoc files that contain procedures for topology, biophysics, panels, point process, customized graphs, etc. How can I change and update any of the loaded procedures without restarting neuron? I tried reloading the hoc files but this doesn´t produce the desired effect.

Thanks, Claudio.

Re: Updating procedures

Posted: Tue Oct 28, 2014 11:02 am
by ted
Since hoc is an interpreted language, any procedure or function can be overwritten. Just xopen a file that contains the new definition of the proc or func.

Re: Updating procedures

Posted: Tue Oct 28, 2014 12:52 pm
by claudioez
Thanks Ted, that worked perfectly.