sourceanalysis

Thomas Dijkman t.b.dijkman at STUDENT.UTWENTE.NL
Thu Nov 27 23:49:44 CET 2008


This means the function sourceanalysis cannot find the function createsubcfg, which should be located in the 'private' folder in the Fieldtrip folder. Functions in that 'private' folder should be accesable to sourceanalysis, since it is located in the parent directory. Perhaps you should check whether that is actually the case, or perhaps not all necessary folders have been added to the matlab path?
Renaming the private folder and adding it to the path is a workaround, but I don't think that that should be common practice?

Regards,

Thomas Dijkman


-----Original Message-----
From: FieldTrip discussion list on behalf of Marco SPERDUTI
Sent: Thu 11/27/2008 12:05 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] sourceanalysis
 
Hallo,

ecah time i use sourceanalysis i have this error:
??? Undefined command/function 'createsubcfg'.

Error in ==> sourceanalysis at 549
cfg = createsubcfg(cfg, cfg.method);

this is the my command:

cfg = [];
cfg.method = 'dics';
cfg.grid = grid;
cfg.vol = vol;
cfg.channel = 'MEG';
cfg.frequency = 36;
cfg.projectnoise = 'yes';

cfg.lambda = mean(TF_Data.powspctrm)/100;
source_Data = sourceanalysis(cfg,TF_Data);


can you help me?

sincerely,

Marco

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list