[FieldTrip] Peercellfun on systems after R2013

Craig Richter craiggrichter at gmail.com
Sun May 28 10:34:48 CEST 2017


Dear Fieldtrip development team,

I’m having trouble getting peercellfun to function on a Matlab system post R2013. The issue stems from new handling of Mx[De]Serialize.m after R2013. This issue is covered in bug 2452,

http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2452 <http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2452>

and emerged for the peer system in bug 2598. 

http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2598 <http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2598>

For newer versions of Matlab, peercompile must run to update the mex files, but this fails when trying to compile peer.c. This file calls the mx[De]Serialize functions internally, which are now must be c++ files. I have successfully compiled the c++ versions of these files to mex, but it seems the calls in peer.c must be modified in some way since these must now be c++ files, whereas they were c before. I’m not sure how to make these modifications to peer.c, or if peer.c must be updated to a c++ file. If anyone has any expertise how to do this, and get the peer system operating on systems above R2013, I’d greatly appreciate it!!

Thanks!

Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170528/cee122b3/attachment-0001.html>


More information about the fieldtrip mailing list