[FieldTrip] EMG detect
RossiterH at cardiff.ac.uk
Thu Oct 13 15:29:47 CEST 2016
Oh I see, thank you. It’s working now.
From: fieldtrip-bounces at science.ru.nl [mailto:fieldtrip-bounces at science.ru.nl] On Behalf Of Schoffelen, J.M. (Jan Mathijs)
Sent: 13 October 2016 14:25
To: FieldTrip discussion list <fieldtrip at science.ru.nl>
Subject: Re: [FieldTrip] EMG detect
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