[FieldTrip] EMG detect
Schoffelen, J.M. (Jan Mathijs)
jan.schoffelen at donders.ru.nl
Thu Oct 13 15:24:30 CEST 2016
You should first create this function, by copying and pasting from the example (essentially just take the second block of code on the page you are working from).
Then, you may need to adjust a bit of the code for your own purpose (most likely the name of the emg-channel.
On 13 Oct 2016, at 15:09, Holly Rossiter <RossiterH at cardiff.ac.uk<mailto:RossiterH at cardiff.ac.uk>> wrote:
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));
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip