beginner problems

Andrew Dimitrijevic andrew at AUDIOSPEECH.UBC.CA
Mon Sep 26 18:26:36 CEST 2005


Hi,

I just downloaded fieldtrip and I'm trying the "Example MATLAB scripts" off the website

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)

Here's the diary output:

cfg = [];
cfg.channel = {'MEG' 'STIM'};
cfg.dataset = 'Subject01.ds';
cfg.trialdef.excludeConditions = {'BAD'};
cfg.trialdef.includeTrigger = 3;    % Define trigger
cfg.blc = 'yes';                    % baseline correction
cfg.blcwindow = [-0.2 0];           % baseline correction window
cfg.lpfilter  = 'yes'               % low-pass filter

cfg = 

      channel: {'MEG'  'STIM'}
      dataset: 'Subject01.ds'
     trialdef: [1x1 struct]
          blc: 'yes'
    blcwindow: [-0.2000 0]
     lpfilter: 'yes'

cfg.lpfreq    = 35;                 % low-pass filter of 35 Hertz
cfg.padding   = 0;                  % do not pad trials
dataFIC = preprocessing(cfg);       % process...
evaluating trialfunction 'trialfun_ctf_epoched'
??? Error using ==> nargout
Not a valid M-file.

Error in ==> <a href="error:C:\MATLAB701\work\fieldtrip\fieldtrip\fieldtrip\definetrial.m,141,1">definetrial at 141</a>
    num = nargout(cfg.trialfun);

Error in ==> <a href="error:C:\MATLAB701\work\fieldtrip\fieldtrip\fieldtrip\preprocessing.m,263,1">preprocessing at 263</a>
[cfg] = definetrial(cfg);



Should there be an m-file: 'trialfun_ctf_epoched.m'? - if so I can't find it in any (sub)directories.

Thanks

Andrew


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20050926/6b7d20ac/attachment.html>


More information about the fieldtrip mailing list