<div dir="ltr">Dear members,<div><br></div><div>I am using an emotiveEEG headset and the signal was  converted to a BCILAB compatible data structure. </div><div><br></div><div>It works fine with the following  code</div><div><br></div><div>







<p class="gmail-p1">







</p><p class="gmail-p1"><i> mrks ={<span class="gmail-s1">'1'</span>,<span class="gmail-s1">'2'</span>};</i></p><p class="gmail-p1"><i> wnds = [0.25 0.3;0.3 0.35;0.35 0.4; 0.4 0.45;0.45 0.5;0.5 0.55;0.55 0.6];</i></p>
<p class="gmail-p1"><i>myapproach = {'Windowmeans' 'SignalProcessing', {'EpochExtraction',[0 0.8],'SpectralSelection',[0.1 15]}, 'Prediction',{'FeatureExtraction',{'TimeWindows',wnds}}};</i></p>
<p class="gmail-p1"><i>[trainloss,lastmodel,laststats] = bci_train('Data',train_data,'Approach',myapproach,'TargetMarkers',mrks);</i><br></p>
<p class="gmail-p2"><br></p><p class="gmail-p2">But when i use folliowing approach, it gives and error.</p><p class="gmail-p2"><i> mrks ={<span class="gmail-s1">'1'</span>,<span class="gmail-s1">'2'</span>};</i><br></p><p class="gmail-p2"><i><span class="gmail-s1">myapproach = {</span>'Bandpower'<span class="gmail-s1"> </span>'SignalProcessing'<span class="gmail-s1">,{</span>'EpochExtraction'<span class="gmail-s1">,{</span>'TimeWindow'<span class="gmail-s1">,[0 3.5],</span>'EventTypes'<span class="gmail-s1">,mrks}}};</span></i></p><p class="gmail-p2">









</p><p class="gmail-p3"><i>[trainloss,lastmodel,laststats] = bci_train({<span class="gmail-s2">'data'</span>,traindata,<span class="gmail-s2">'approach'</span>,myapproach});</i></p><p class="gmail-p3"><br></p><p class="gmail-p3">The error is :</p><p class="gmail-p3">Error using arg_define>arguments_to_nvps (line 507)</p><p class="gmail-p3">Some of the specified arguments do not appear in the argument specification; {'EventTypes', 'invalid</p><p class="gmail-p3">sequence of names and structs'}.</p><p class="gmail-p3">Error in arg_define (line 179)</p><p class="gmail-p3">        nvps =        arguments_to_nvps(caller_name,fmt,vals,structmask,flat_names,first_names,skip*leading_skippable);</p><p class="gmail-p3">Error in set_makepos (line 64)</p><p class="gmail-p3"><br></p>
<span class="gmail-mt-tool-email-notification-true"></span>Any help is highly appreciated.<br><br><br><div class="mt-signature">
                                        <div class="mt-signature">
                                            <a href="https://mailtrack.io/" class="gmail-mt-signature-logo" style="text-decoration:none">
                                                <img src="https://s3-eu-west-1.amazonaws.com/mailtrack-crx/icon-signature.png" height="14"> 
                                            </a>
                                            <font color="#999999" class="mt-signature-text">
                                                Sent with <a href="https://mailtrack.io/install?source=signature&lang=en&referral=senakahks@gmail.com&idSignature=22" class="mt-install">Mailtrack</a>
                                            </font>
                                        </div>
                                    </div></div><img width="0" height="0" class="mailtrack-img" src="https://mailtrack.io/trace/mail/845cd6d575eeab9976639be91705ecc8eb450940.png?u=648108"></div>