[FieldTrip] EMG detect

Holly Rossiter RossiterH at cardiff.ac.uk
Thu Oct 13 15:09:39 CEST 2016

Hi there,

I am trying to use the muscle activity from an EMG channel to use as a trial definition and have found the tutorial on it but it doesn't seem to recognise the term 'trialfun_emgdetect' - I've tried with the most recent version of fieldtrip and it's still not working. This is the error I'm getting:

Undefined function 'func2str' for input arguments of type 'double'.

Error in ft_definetrial (line 158)
    error('the specified trialfun ''%s'' was not found', func2str(cfg.trialfun));

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161013/0f40b353/attachment-0001.html>

More information about the fieldtrip mailing list