[Eeglablist] Startle Processing Script Error

Ken Bennett benne257 at uwm.edu
Mon Feb 8 15:19:33 PST 2016


Hello all,

I am having some difficulties running startle EMG data through a shared
matlab script. The script runs a high pass filter, rectify, low pass,
epoch/baseline correct, artifact rejection, and peak score. Whenever I run
it, I receive an error that says:

Error using str2num (line 33)

Requires string or character array input.


Error in @(x)(str2num(EEG.event(x).type))


Error in EEGLAB_StartleReduction (line 34)

            triggers = arrayfun( @(x)(str2num(EEG.event(x).type)),
1:length(EEG.event) )’;


I tried troubleshooting the error with a colleague who also uses this
script, but we could not fix it. Is anyone familiar with this script and/or
this error?

Here is a link to the .set file and script file
(EEGLAB_StartleReduction.m): http://1drv.ms/1KBCFPA

Please let me know if you have any questions or comments.

Thanks!
Ken

--

Kenneth Bennett
Second Year Clinical Graduate Student
Affective Neuroscience Laboratory
Department of Psychology
University of Wisconsin-Milwaukee
334 Garland Hall


*CONFIDENTIALITY NOTICE: *This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential or proprietary information which is legally privileged. Any
unauthorized review, use, disclosure, or distribution is prohibited. If you
are not the intended recipient, please promptly contact the sender by reply
e-mail and delete the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160208/294e4744/attachment.html>


More information about the eeglablist mailing list