<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://4121/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Tyler,<div><br></div><div>newcrossf cannot compute statistics when processing continuous data. We will update the function to make that clearer.</div><div>Best,</div><div><br></div><div>Arno</div><div><br><div><div>On Jan 30, 2014, at 10:38 PM, Tyler Grummett <<a href="mailto:tyler.grummett@flinders.edu.au">tyler.grummett@flinders.edu.au</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; "><div style="margin-top: 0px; margin-bottom: 0px; ">Hello eeglablist,<br></div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div style="margin-top: 0px; margin-bottom: 0px; ">I am just having a problem with newcrossf where I am getting the following error message:<br></div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div><span style="font-family: arial, helvetica, sans-serif; ">At compilation, "formula" was determined to be a variable and this</span></div><div><span style="font-family: arial, helvetica, sans-serif; "> variable is uninitialized.  "formula" is also a function name and previous versions of MATLAB would</span></div><div><span style="font-family: arial, helvetica, sans-serif; "> have called the function.</span></div><div><span style="font-family: arial, helvetica, sans-serif; "> However, MATLAB 7 forbids the use of the same name in the same</span></div><div><span style="font-family: arial, helvetica, sans-serif; "> context as both a function and a variable.</span></div><div><br style="font-family: arial, helvetica, sans-serif; "></div><div><span style="font-family: arial, helvetica, sans-serif; ">Error in newcrossf (line 900)</span></div><div><span style="font-family: arial, helvetica, sans-serif; ">            Rbootout = bootstat(inputdata, formula, 'boottype', g.boottype, 'label', 'coherence', ...</span><br></div><div><br></div><div>The problem is that formula is blank. My data is continuous, so at line 443 it switches from type 'phasecoher' to 'crossspectrum' and then from then on it does not create a variable called formula. On line 873 it tries to create a variable called 'formulainit', which doesnt appear to be used in the function. Is that a bug or is it necessary to run the code?<br></div><div><br></div><div>Kind regards,<br></div><div><br></div><div>Tyler<br></div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div><div style="margin-top: 0px; margin-bottom: 0px; "><br></div><div name="divtagdefaultwrapper" style="font-family: calibri, arial, helvetica, sans-serif; margin: 0px; "><div style="font-family: tahoma; font-size: 13px; "><div style="font-family: tahoma; font-size: 13px; "><div style="font-family: tahoma; font-size: 13px; "><div style="font-size: 13px; ">*************************<div style="font-family: tahoma; "><br></div><div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div><div><font face="Arial"><i>PhD Candidate</i></font></div><div><font face="Arial"><i>Brain Signals Laboratory</i></font></div><div><font face="Arial"><i>Flinders University</i></font></div><div><font face="Arial"><i>Rm 5A301</i></font></div><div><font face="Arial"><i>Ext 66124</i></font></div></div></div></div></div></div></div></div>_______________________________________________<br>Eeglablist page:<span class="Apple-converted-space"> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>To unsubscribe, send an empty email to<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>For digest mode, send an email with the subject "set digest mime" to<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a></div></blockquote></div><br></div></body></html>