[FieldTrip] query on Analysis of corticomuscular coherence

Jose Herrero jose.herrero66 at gmail.com
Thu Oct 4 23:40:44 CEST 2012


Hey,

just starting using fieldtrip today ... but did not get very far:

I tried to do the example  Analysis of corticomuscular
coherence<http://fieldtrip.fcdonders.nl/tutorial/coherence>  but
got the error:


>> clear

matlabroot =

c:\data_fieldtrip\

evaluating trialfunction 'trialfun_left'
Warning: adding c:\data_fieldtrip\fieldtrip-20120530\external\ctf toolbox
to your
Matlab path

readCTFds: Data set error : size of meg4 file(s)
         0 bytes (from dir command)
 696768000 bytes (from res4 file)

??? Index exceeds matrix dimensions.

Error in ==> getCTFdata at 280
  if trials(kt)<=meg4Trial(openFile) | trials(kt)>meg4Trial(openFile+1)

Error in ==> ft_read_data at 479
      dat = getCTFdata(hdr.orig, [begtrial:endtrial], chanindx, 'T',
'double');

Error in ==> read_trigger at 69
dat = ft_read_data(filename, 'header', hdr, 'dataformat', dataformat,
'begsample',
begsample, 'endsample', endsample, 'chanindx', chanindx, 'checkboundary',
0);

Error in ==> ft_read_event at 481
      trigger = read_trigger(filename, 'header', hdr, 'begsample',
flt_minsample,
      'endsample', flt_maxsample, 'chanindx', trigchanindx, 'dataformat',
dataformat,
      'detectflank', detectflank, 'trigshif
Error in ==> trialfun_left at 7
event = ft_read_event(cfg.dataset);

Error in ==> ft_definetrial at 170
    trl   = feval(cfg.trialfun, cfg);

Error in ==> ex_corticomuscle at 5
cfg = ft_definetrial(cfg);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20121004/94db8346/attachment-0001.html>


More information about the fieldtrip mailing list