[FieldTrip] error in ft_artifact_ecg

Narjes Soltani na.so.ir at gmail.com
Mon Oct 24 15:49:14 CEST 2016

Dear Sir/Madam

I am running ft_artifact_ecg on some MEG data recorded by Neuromag Elekta
device. I just pass the output produced by ft_defineTrial to
ft_artifact_ecg, but I encounter the following error:

Undefined function or variable "labelmlt".

Error in ft_channelselection (line 428)
if findmlt,        channel = [channel; labelmlt]; end

Error in ft_artifact_ecg (line 233)
sgn    = ft_channelselection(artfctdef.inspect, hdr.label);

I guess I should explicitly set the cfg.artfctdef.ecg.channel, but I don't
know how should I set this parameter? The set of channel labels in my data
are as follows:


Would you please help me with this problem?

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161024/6f72a46b/attachment-0001.html>

More information about the fieldtrip mailing list