Back to the main page.

Bug 2658 - mxSerialize_cpp

Status CLOSED FIXED
Reported 2014-07-17 20:50:00 +0200
Modified 2019-08-10 12:28:10 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

- 2014-07-17 20:50:41 +0200

I recently got a new computer with Matlab 2014a on it. Consequently when trying to tun some test code I revived the following error: Undefined function 'mxSerialize_cpp' for input arguments of type 'struct'. Error in mxSerialize (line 35) argout = mxSerialize_cpp(argin); Error in ft_preamble_provenance (line 74) cfg.callinfo.inputhash{iargin} = CalcMD5(mxSerialize(tmparg)); Error in ft_preamble (line 54) evalin('caller', ['ft_preamble_' cmd]); Error in ft_timelockanalysis (line 95) ft_preamble provenance data Doing a quick google search I did some troubleshooting of my own: 1. Installed and updated version of fieldtrip 20140716 2. Confirmed that mxSerialize_cpp was in the private folder 3. re-ran ft_defaults and ft_compile_mex: - Skipping up-to-date MEX file src/mxSerialize_cpp - Skipping up-to-date MEX file src/mxDeserialize_cpp I know bug 2452 was closed, but I just can't seem to work this one out. Any help would be much appreciated. Thank you, Kate


Robert Oostenveld - 2014-07-18 11:05:10 +0200

Hi Kate, It seems that the files are not yet at all appropriate locations yet mac011> find . -name mxSerialize_cpp.mexw64 ./src/mxSerialize_cpp.mexw64 whereas mac011> find . -name mxSerialize_cpp.mexa64 ./fileio/private/mxSerialize_cpp.mexa64 ./private/mxSerialize_cpp.mexa64 ./src/mxSerialize_cpp.mexa64 ./utilities/private/mxSerialize_cpp.mexa64 For now it should work if you do "addpath fieldtrip/src". I will add them to the other locations as well. --- bugfix - make sure mex files are copied to all places where they are needed. See http://bugzilla.fcdonders.nl/show_bug.cgi?id=2658 mac011> svn commit src/ private/ fileio/ utilities/ Adding (bin) fileio/private/mxSerialize_cpp.mexw64 Adding (bin) private/mxSerialize_cpp.mexw64 Sending src/combineClusters.mexmaci Sending src/combineClusters.mexmaci64 Sending src/mxDeserialize_cpp.mexw64 Sending src/mxSerialize_cpp.mexw64 Sending src/rename.mexw32 Sending src/rename.mexw64 Adding (bin) utilities/private/mxSerialize_cpp.mexw64 Committed revision 9741.


Robert Oostenveld - 2019-08-10 12:28:10 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.