<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">P {
        MARGIN: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: x-small;">
<p>Dear Arjen,</p>
<p> </p>
<p>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</p>
<p> </p>
<p>>> restoredefaultpath<br>
>> addpath c:\FieldTrip\fieldtrip-20120715<br>
>> ft_defaults<br>
<font color="#ff0000">??? Invalid MEX-file 'c:\FieldTrip\fieldtrip-20120715\utilities\ft_getopt.mexw32': The specified procedure could not be found.</font></p>
<p><font color="#ff0000">.</font></p>
<p><font color="#ff0000">Error in ==> ft_checkconfig at 71<br>
renamed         = ft_getopt(varargin, 'renamed');</font></p>
<p><font color="#ff0000">Error in ==> ft_definetrial at 116<br>
cfg = ft_checkconfig(cfg, 'dataset2files', {'yes'});</font></p>
<p><font color="#ff0000">Error in ==> tutorial1 at 8<br>
cfg1         = ft_definetrial(cfg1);</font></p>
<p>>> </p>
<p> </p>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px"> </div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">Herb Gould</div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF293883"><font color="#000000" size="2" face="Tahoma"><b>From:</b> fieldtrip-bounces@science.ru.nl [fieldtrip-bounces@science.ru.nl] on behalf of Stolk, A. [a.stolk@fcdonders.ru.nl]<br>
<b>Sent:</b> Tuesday, July 17, 2012 8:04 AM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> Re: [FieldTrip] mexw files<br>
</font><br>
</div>
<div></div>
<div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 12pt">
<p>Hi Herbert,</p>
<p> </p>
<p>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?</p>
<p> </p>
<p>Best regards,</p>
<p>Arjen</p>
<p> </p>
<p>restoredefaultpath</p>
<p>addpath C:\FieldTrip\fieldtrip-20120715</p>
<p>ft_defaults<br>
<br>
</p>
<p></p>
<hr id="zwchr">
<p></p>
<blockquote style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px">
<b>Van: </b>"Herbert J Gould (hgould)" <hgould@memphis.edu><br>
<b>Aan: </b>fieldtrip@science.ru.nl<br>
<b>Verzonden: </b>Dinsdag 17 juli 2012 14:36:26<br>
<b>Onderwerp: </b>[FieldTrip] mexw files<br>
<br>
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: x-small">
<p>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:</p>
<p> </p>
<p>cfg1         = ft_definetrial(cfg1);<br>
Warning: multiple versions of SPM on your path will confuse FieldTrip<br>
<font color="#0000ff">> In fieldtrip-20120715\private\warning_once at 75<br>
  In ft_defaults at 91<br>
  In ft_definetrial at 111<br>
Warning: one version of SPM is found here: C:\FieldTrip\fieldtrip-20120715\external\spm2\spm.m<br>
> In ft_defaults at 99<br>
  In ft_definetrial at 111<br>
Warning: one version of SPM is found here: C:\FieldTrip\fieldtrip-20120715\external\spm8\spm.m<br>
> In ft_defaults at 99<br>
</font>  In ft_definetrial at 111<br>
<font color="#ff0000">??? Invalid MEX-file 'C:\FieldTrip\fieldtrip-20120715\src\ft_getopt.mexw32': The specified procedure could not be found.</font></p>
<p>.</p>
<p>Error in ==> ft_checkconfig at 71<br>
renamed         = ft_getopt(varargin, 'renamed');</p>
<p>Error in ==> ft_definetrial at 116<br>
cfg = ft_checkconfig(cfg, 'dataset2files', {'yes'});</p>
<p> </p>
<p>I have checked and the .mexw32 file is there What am I doing wrong?</p>
<p> </p>
<p>Herb Gould<br>
</p>
</div>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
fieldtrip@donders.ru.nl<br>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote>
<br>
</div>
</div>
</div>
</div>
</body>
</html>