<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div>Dear Jim,</div><div><br></div><div>Is the "amp;" in line 94 parameterselection really there, or did it pop up during the copy and paste process? </div><div>I tried to reproduce your problem, but I did not manage. If removing the "amp;" does not solve your case, you could try to debug the code by typing on the command-line: "dbstop if error" and calling sourceplot after that.</div><div>When it crashes, you have access to the local workspace of the functions (you can toggle between the different functions in the calling hierarchy by the commands dbup and dbdown) so that you can have a look what is going wrong. Usually, matlab is pretty explicit about what it tries to do (but fails) in its error messages.</div><div><br></div><div>Yours,</div><div><br></div><div>Jan-Mathijs</div><div><br></div><br><div><div>On Apr 5, 2009, at 5:15 PM, Jim wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">if ~issubfield(data, param{i}) &&amp; issubfield(data, ['avg.' param{i}]</font></p> </blockquote></div><br></body></html><p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>