<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 eeglab,<br>
</p>
<p><br>
</p>
<p>I have just recently updated to the latest version of eeglab, where I was on version 12_0_1_0b previously<br>
</p>
<p>and I get the following error message when running pop_multifit<br>
</p>
<p><br>
</p>
<div><span style="font-family: arial, helvetica, sans-serif;">Error using ft_inside_vol</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">Too many input arguments.</span></div>
<div><br style="font-family: arial, helvetica, sans-serif;">
</div>
<div><span style="font-family: arial, helvetica, sans-serif;">Error in ft_prepare_sourcemodel (line 689)</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">  inside = ft_inside_vol(grid.pos, vol, 'grad', sens, 'headshape', cfg.headshape, 'inwardshift',</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">  cfg.inwardshift); % this returns a boolean vector</span></div>
<div><br style="font-family: arial, helvetica, sans-serif;">
</div>
<div><span style="font-family: arial, helvetica, sans-serif;">Error in ft_dipolefitting (line 312)</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">  grid = ft_prepare_sourcemodel(tmpcfg);</span></div>
<div><br style="font-family: arial, helvetica, sans-serif;">
</div>
<div><span style="font-family: arial, helvetica, sans-serif;">Error in dipfit_gridsearch (line 106)</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">source = ft_dipolefitting(cfg, comp);</span></div>
<div><br style="font-family: arial, helvetica, sans-serif;">
</div>
<div><span style="font-family: arial, helvetica, sans-serif;">Error in pop_dipfit_gridsearch (line 135)</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">  EEGOUT = dipfit_gridsearch(EEG, 'component', select, 'xgrid', xgrid, 'ygrid', ygrid, 'zgrid', zgrid,</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">  options{:});</span></div>
<div><br style="font-family: arial, helvetica, sans-serif;">
</div>
<div><span style="font-family: arial, helvetica, sans-serif;">Error in pop_multifit (line 133)</span></div>
<div><span style="font-family: arial, helvetica, sans-serif;">        EEG = pop_dipfit_gridsearch( EEG, [1:ncomps], ...</span><span style="font-size: 8pt; font-family: arial, helvetica, sans-serif;"></span><br>
</div>
<p><br>
</p>
<div>
<p>Any help will be greater appreciated.<br>
</p>
<p><br>
</p>
<p>I went back to that previous version and pop_multifit appears to be working<br>
</p>
<p><br>
</p>
<p>Tyler.<br>
</p>
<p><br>
</p>
<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>