<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif;font-size:11pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223, 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 237, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello eeglablist,<br>
</p>
<p><br>
</p>
<p>I am just having a problem with newcrossf where I am getting the following error message:<br>
</p>
<p><br>
</p>
<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>
<p><br>
</p>
<div>
<p><br>
</p>
<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>
</body>
</html>