My initial approach (using a simplified test case):
Code: Select all
system("7z a testfile.zip sv.dat")
Code: Select all
sh: 7z: not found
127
I suspect the problem has to do with the difference between Windows path and Cygwin path (I'm using NEURON 7.2 for this project). Any suggestions for how to resolve this issue? A way to access arbitrary binaries from within NEURON, perhaps? Thank you.
PS: I keep my model code platform-agnostic, in general, and have run my models on Mac and on Windows. In this instance a Windows-specific solution is okay for me, because it's just a convenience method for a specific set of runs that I'll be performing under Windows.