Little update: I added the lines in the function and I don't get the "unknown exception thrown"-error anymore, so that is a good sign. However, it has been computing for approx. 36h now, so I am not sure, whether it actually is still computing or if something went wrong and the function is stuck somewhere. I can leave it running for the weekend, but it would be good to know, if this is still a reasonable time
It eventually did finish after approx. 72h. I expected it to take some time, but this seems really long to me - especially compared to the 1h EEG-computation. Here is the link to the channel file (and also again the mesh and cortices, just in case)