Back to the main page.

Bug 1065 - ft_topoplotER: error in script ft_plot_topo.m

Status CLOSED FIXED
Reported 2011-10-21 11:45:00 +0200
Modified 2011-11-11 11:19:47 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P1 normal
Assigned to: Jörn M. Horschig
URL:
Tags:
Depends on:
Blocks:
See also:

Anne van Hoogmoed - 2011-10-21 11:45:08 +0200

When plotting data with ft_topoplotER the following error appears: ??? Error: File: ft_plot_topo.m Line: 195 Column: 5 Expression or statement is incorrect--possibly unbalanced (, {, or [. Error in ==> ft_topoplotTFR at 765 ft_plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,... Error in ==> ft_topoplotER at 115 cfg = ft_topoplotTFR(cfg, varargin{:}); The script I used is (but it also happens with other scripts): cfg = []; cfg.layout = lay_baby; cfg.xlim = [0.7 1.1]; ft_topoplotER(cfg, GA_id_loc);


Anne van Hoogmoed - 2011-10-21 11:45:43 +0200

Created attachment 170 data and layout file


Jörn M. Horschig - 2011-10-21 11:53:37 +0200

Hey Anne, should be solved. I assume the problem was because you are using a somewhat older Matlab version which does not support ~ as a dummy variable name. Please confirm if it works, because for me it worked with the old version as well. Just in addition to this bug, I will also check all other functions for the occurance of ~ as a dummy variable


Jörn M. Horschig - 2011-11-10 16:32:12 +0100

I removed ~ from all functions


Robert Oostenveld - 2011-11-11 11:19:47 +0100

I closed all bugs that were recently resolved.