help w/ sourceplot

jan-mathijs schoffelen j.schoffelen at PSY.GLA.AC.UK
Mon Apr 6 10:43:33 CEST 2009

Dear Jim,

Is the "amp;" in line 94 parameterselection really there, or did it
pop up during the copy and paste process?
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.
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.



On Apr 5, 2009, at 5:15 PM, Jim wrote:

> if ~issubfield(data, param{i}) && issubfield(data, ['avg.' param
> {i}]

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. See also and
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the fieldtrip mailing list