Why? I distribute a simulation that uses custom model files to students in one of my neuroscience courses. I want them to be able to download and unzip the files, then run a single hoc file without having to learn how to compile models for themselves. Students are working on their home machines, so I can't compile them for them.
Long ago I came across this hack, but it is not working on modern versions of neuron:
Code: Select all
load_file("stdlib.hoc")
s = new String()
sprint(s.s, "sh mkdll.sh %s \"%s\" %d", $s1, $s2, unix_mac_pc())
system(s.s, s.s)
I wasn't easily able to find another way to do this, so I thought I'd ping the forum. Any help would be greatly appreciated.
Cheers,
Bob