HOC file support
-
Hello,
What would be the general steps to have Sim4Life work with hoc files not already built into the distribution? For a simple starting example, if I wanted to have a single passive compartment located at a point, how would I prepare and pair the hoc file to Sim4Life for use? Is there any formatting considerations to extend on that for a passive fiber?
Thank you for the guidance -
Hello, did you try to follow the (brief) description in the documentation? There are some HOC functions (run(), finitialize(), fcurrents(), etc.) that have to be disabled/removed from the HOC code file, and then the model has to be compiled using a native version of NEURON (not in Sim4Life) in order to create the mechanism files. The mechanisms have to be compiled with the correct version and build of NEURON compatible with the version of Sim4Life you are using. The correct version is indicated in the corresponding documentation.
After those steps, the model can be imported into Sim4Life and used in a simulation.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login