xolotl
xolotl copied to clipboard
the new spikes_only options is unsafe
it's possible to reference a element in the array that is out of bounds, causing a hard MATLAB crash
possible solution to return a vector:
https://stackoverflow.com/questions/9640738/mex-transferring-a-vector-from-c-to-matlab-from-mex-function
maybe make a spiketimes
object, that we can push individual spiketimes too, and then in the end, return a vector separated by -1
?
Stale issue message