<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear all,<div><br></div><div>I have an error in checkconfig.m called from ft_sourceplot.</div><div><br></div><div>What is wrong here?</div><div><br></div><div>Thanks a lot,</div><div>Irina</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; ">vol = </div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> dim: [45 54 39]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> anatomy: [45x54x39 double]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> hdr: [1x1 struct]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> transform: [4x4 double]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> unit: 'mm'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> fun: [45x54x39 double]</div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"> <br class="webkit-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; ">cfg_plot = </div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> funparameter: 'fun'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "> method: 'ortho'</div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; min-height: 19px; "> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; ">>> ft_sourceplot(cfg_plot, vol)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; ">the input is volume data with dimensions [45 54 39]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; ">not downsampling anatomy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; ">not downsampling fun</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">??? Reference to non-existent field 'checksize'.</font></div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; min-height: 19px; "> <br class="webkit-block-placeholder"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">Error in ==> ft_checkconfig at 559</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">if strcmp(checksize, 'yes') && ~isinf(cfg.checksize)</font></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"><font class="Apple-style-span" color="#FF1C12"> <br class="webkit-block-placeholder"></font></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">Error in ==> ft_volumedownsample at 158</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">cfg = ft_checkconfig(cfg, 'trackconfig', 'off', 'checksize', 'yes');</font></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"><font class="Apple-style-span" color="#FF1C12"> <br class="webkit-block-placeholder"></font></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">Error in ==> ft_sourceplot at 307</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal Courier; "><font class="Apple-style-span" color="#FF1C12">data = ft_volumedownsample(tmpcfg, data);</font></div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; min-height: 19.0px"><font class="Apple-style-span" color="#FF1C12"> </font><br class="webkit-block-placeholder"></p></div><div><br></div><div><br></div></body></html>