[Eeglablist] modification of std_selsubject to detect exact matches
Pandelis Perakakis
peraka at ugr.es
Thu Feb 2 03:57:39 PST 2017
Dear group,
I found convenient to modify std_selsubject.m by adding the option 'exact' to the strmatch function. In this way, for example, subject 's1' is not confused with 's10', 's11', etc.
The new line 45 is:
selectInds = strmatch(lower(subject), lower(allsubjects),'exact');
And line 64 is:
subjectind = strmatch(lower(subject), lower(allsubjects),'exact');
In case you want to include this modification in future versions.
Best,
Pandelis
--
Pandelis Perakakis, PhD
Mind, Brain and Behaviour Research Centre (CIMCYC)
University of Granada
Campus Cartuja, 12071
Granada
Spain
e-mail: peraka at ugr.es
url: pandelisperakakis.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170202/4a21ecba/attachment.html>
More information about the eeglablist
mailing list