<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Fieldtrip development team,<div class=""><br class=""></div><div class="">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,</div><div class=""><br class=""></div><div class=""><a href="http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2452" class="">http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2452</a></div><div class=""><br class=""></div><div class="">and emerged for the peer system in bug 2598. </div><div class=""><br class=""></div><div class=""><a href="http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2598" class="">http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2598</a></div><div class=""><br class=""></div><div class="">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!!</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">Craig</div></body></html>