[FieldTrip] HELP / [Urgent] A question about fieldtrip

Moonshine jkim3281 at gmail.com
Wed Aug 11 15:46:48 CEST 2021


  Dear sir/madam

This is student who is currently studying in university of Groningen,
working on connectivity analysis of EEG data,

I have already preprocessed my EEG files and working on connectivity using
this tutorial:
https://www.fieldtriptoolbox.org/tutorial/networkanalysis_eeg/

And my modified code for my eeg data was the following:


*load('02010015_ICAed.mat')*
*cfg=[];*
*cfg.channel=data_clean.label;*
*data=ft_selectdata(cfg,data_clean);*
*data= rmfield(data,'grad');*

*elec        = ft_convert_units(elec,'mm');data.elec   = elec;*

But when I use ft_selectdata, this happens to
data=ft_selectdata(cfg,data_clean) :

Insufficient number of outputs from right hand side of equal sign to
satisfy assignment.

Error in ft_version (line 154)
       ftver = tmp.Version;

Error in ft_preamble_init (line 50)
[FjmoT6aA_ft_ver, FjmoT6aA_ft_path] = ft_version;

Error in ft_preamble (line 83)
evalin('caller', full_cmd);

Error in ft_selectdata (line 80)
ft_preamble init

Do you know why this happens? I checked my path correctly and I really
don't know why this still happens,

It would be great to know if you could inform me why this happens,

Looking forward to your answer!

Sincerely,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210811/332e83ba/attachment.htm>


More information about the fieldtrip mailing list