[FieldTrip] problem occurs when using ft_timelockanalysis
"Jörn M. Horschig"
jm.horschig at donders.ru.nl
Wed May 14 10:35:03 CEST 2014
Hi Sara,
I guess you are not using a mac. What you describe concerns bug 2452 on
our Bugzilla page:
http://bugzilla.fcdonders.nl/show_bug.cgi?id=2452
which pertains to some undocumented change in Matlab. Therefore it is
necessary to use a different mxserialize function that from matlab 2014a
onwards than before. This is a c++ function, which requires to be
compiled for each platform independently. In FieldTrip, this file exists
e.g. in fileio/private but only for MacOS 64-bit platforms. Apparently,
we still need to compile it for MacOS 32bit, Windows and Linux
platforms. I guess we should do that quite soon ;) I'll bring it up in
today's FT meeting so that hopefully from tomorrow onwards it should work.
btw, for you it will help to go to the FieldTrip/src directory in Matlab
and type
>> mex mxSerialize_cpp.cpp
Then Matlab will mex (~compile) the file for you. You can then copy that
file to your matlab code directory and everything should work out fine
for you. I'll keep you updated on this.
Best,
Jörn
On 5/13/2014 4:15 PM, s.rombetto at cib.na.cnr.it wrote:
> Any suggestion concerning this problem?
>
> it works finewith Matlab 2013
>
>
>
> ----- Messaggio inoltrato da s.rombetto at cib.na.cnr.it -----
> Data: Wed, 7 May 2014 13:00:50 +0200
> Da: s.rombetto at cib.na.cnr.it
> Rispondi-A:s.rombetto at cib.na.cnr.it
> Oggetto: problem occurs when using ft_timelockanalysis
> A: fieldtrip at science.ru.nl
>
> Dear fieldtrippers
>
> I'm encountering a problem when running ft_timelockanalysis in Matlab.
> I receive the following message:
>
> "A 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 67)
> 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"
>
>
> I am using \fieldtrip-20140506 and matlab R2014a - 64 bit
>
> Any suggestion is highly appreciated.
> -------------------------
> Dott.ssa Sara Rombetto
> Istituto di Cibernetica
> "E. Caianiello"
> Via Campi Flegrei, 34
> 80078 Pozzuoli (NA)
> Italy
> mob +39 3401689815
> tel +39 0818675361
> fax +39 0818675128
> Lab MEG 0817483511
> --------------------------
> "I disapprove of what you say, but I will defend to the death your
> right to say
> it." [Evelyn Beatrice Hall, The Friends Of Voltaire]
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> ----- Fine del messaggio inoltrato -----
>
>
> -------------------------
> Dott.ssa Sara Rombetto
> Istituto di Cibernetica
> "E. Caianiello"
> Via Campi Flegrei, 34
> 80078 Pozzuoli (NA)
> Italy
> mob +39 3401689815
> tel +39 0818675361
> fax +39 0818675128
> Lab MEG 0817483511
> --------------------------
> "I disapprove of what you say, but I will defend to the death your
> right to say
> it." [Evelyn Beatrice Hall, The Friends Of Voltaire]
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands
Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel: +31-(0)24-36-68493
Web: http://www.ru.nl/donders
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands
More information about the fieldtrip
mailing list