[FieldTrip] mexw files

Herbert J Gould (hgould) hgould at memphis.edu
Tue Jul 17 22:39:03 CEST 2012


Dear Jorn,



I downloaded the 20120716 version of Fieldtrip and the same problem occurred. Next I did the mex of ft_getopt.c and transfered it to Utilities. Still no joy as the same problem occured again. I am working on an older laptop running xp with an old 7.1 version of Matlab.  I will be back in my lab next week where I can try it out on better equipment and newer software.



Herb





________________________________
From: fieldtrip-bounces at science.ru.nl [fieldtrip-bounces at science.ru.nl] on behalf of "Jörn M. Horschig" [jm.horschig at donders.ru.nl]
Sent: Tuesday, July 17, 2012 8:47 AM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] mexw files

Dear Herb,

it seems like the mex-file you are using is corrupt. Either it is from a corrupt download (in which case you'd need to download fieldtrip once more) or there is, or there is some other incompatibility between your windows/matlab combination that we have not encountered.

Could you try downloading FieldTrip again and see whether the error persists?

If it does persist, you could go to the src/ directory and type 'mex ft_getopt.c' to re-mex the file (in Matlab). Then copy the mexw32 file from that folder to utilities/. This is not an optimal solution, because you will probably encounter similar issues with other mexw32 files.
If that works for you, it would be nice if you sent me (or someone else from the dev team) the file so that we can check whether the file is indeed different.
Either way, please let us know whether (and if so how) you can resolve the problem.

Best,
Jörn

On 7/17/2012 3:22 PM, Herbert J Gould (hgould) wrote:

Dear Arjen,



Thank you that took care of the SPM issue but it still leaves the .mexw32 issue. However it now is looking for the file in a different location



>> restoredefaultpath
>> addpath c:\FieldTrip\fieldtrip-20120715
>> ft_defaults
??? Invalid MEX-file 'c:\FieldTrip\fieldtrip-20120715\utilities\ft_getopt.mexw32': The specified procedure could not be found.

.

Error in ==> ft_checkconfig at 71
renamed         = ft_getopt(varargin, 'renamed');

Error in ==> ft_definetrial at 116
cfg = ft_checkconfig(cfg, 'dataset2files', {'yes'});

Error in ==> tutorial1 at 8
cfg1         = ft_definetrial(cfg1);

>>




Herb Gould
________________________________
From: fieldtrip-bounces at science.ru.nl<mailto:fieldtrip-bounces at science.ru.nl> [fieldtrip-bounces at science.ru.nl<mailto:fieldtrip-bounces at science.ru.nl>] on behalf of Stolk, A. [a.stolk at fcdonders.ru.nl<mailto:a.stolk at fcdonders.ru.nl>]
Sent: Tuesday, July 17, 2012 8:04 AM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] mexw files


Hi Herbert,



It seems you have multiple versions of SPM on your path, which may confuse FieldTrip. Could you try inserting the commands below in the matlab command window, before inserting the tutorial code?



Best regards,

Arjen



restoredefaultpath

addpath C:\FieldTrip\fieldtrip-20120715

ft_defaults


________________________________
Van: "Herbert J Gould (hgould)" <hgould at memphis.edu><mailto:hgould at memphis.edu>
Aan: fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>
Verzonden: Dinsdag 17 juli 2012 14:36:26
Onderwerp: [FieldTrip] mexw files


I have just found fieldtrip and have started to work on the tutorial. I am trying to read the data for subject 1 in the tutorial and recieve the following error:



cfg1         = ft_definetrial(cfg1);
Warning: multiple versions of SPM on your path will confuse FieldTrip
> In fieldtrip-20120715\private\warning_once at 75
  In ft_defaults at 91
  In ft_definetrial at 111
Warning: one version of SPM is found here: C:\FieldTrip\fieldtrip-20120715\external\spm2\spm.m
> In ft_defaults at 99
  In ft_definetrial at 111
Warning: one version of SPM is found here: C:\FieldTrip\fieldtrip-20120715\external\spm8\spm.m
> In ft_defaults at 99
  In ft_definetrial at 111
??? Invalid MEX-file 'C:\FieldTrip\fieldtrip-20120715\src\ft_getopt.mexw32': The specified procedure could not be found.

.

Error in ==> ft_checkconfig at 71
renamed         = ft_getopt(varargin, 'renamed');

Error in ==> ft_definetrial at 116
cfg = ft_checkconfig(cfg, 'dataset2files', {'yes'});



I have checked and the .mexw32 file is there What am I doing wrong?



Herb Gould

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip




_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto: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

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: jm.horschig at donders.ru.nl<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120717/6b076c04/attachment-0001.html>


More information about the fieldtrip mailing list