<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I just downloaded fieldtrip and I'm trying the
"Example MATLAB scripts" off the website</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm using matlab 7, the data "subject01.ds" is
an unzipped folder in the main fieldtrip folder. (I guess CTF data is a
folder?... I usually use Neuroscan CNT files.... but I'm guessing thats
how CTF saves thier data)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here's the diary output:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cfg = [];<BR>cfg.channel = {'MEG'
'STIM'};<BR>cfg.dataset = 'Subject01.ds';<BR>cfg.trialdef.excludeConditions =
{'BAD'};<BR>cfg.trialdef.includeTrigger = 3; % Define
trigger<BR>cfg.blc =
'yes';
% baseline correction<BR>cfg.blcwindow = [-0.2
0]; % baseline
correction window<BR>cfg.lpfilter =
'yes'
% low-pass filter</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cfg = </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> channel:
{'MEG' 'STIM'}<BR> dataset:
'Subject01.ds'<BR> trialdef: [1x1
struct]<BR> blc:
'yes'<BR> blcwindow: [-0.2000 0]<BR>
lpfilter: 'yes'</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>cfg.lpfreq =
35;
% low-pass filter of 35 Hertz<BR>cfg.padding =
0;
% do not pad trials<BR>dataFIC =
preprocessing(cfg); %
process...<BR>evaluating trialfunction 'trialfun_ctf_epoched'<BR>??? Error using
==> nargout<BR>Not a valid M-file.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Error in ==> <a
href="error:C:\MATLAB701\work\fieldtrip\fieldtrip\fieldtrip\definetrial.m,141,1">definetrial
at 141</a><BR> num = nargout(cfg.trialfun);</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Error in ==> <a
href="error:C:\MATLAB701\work\fieldtrip\fieldtrip\fieldtrip\preprocessing.m,263,1">preprocessing
at 263</a><BR>[cfg] = definetrial(cfg);<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Should there be an m-file:
'trialfun_ctf_epoched.m'? - if so I can't find it in any
(sub)directories.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Andrew</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>