Back to the main page.

Bug 2657 - ft_topoplotTFR crashes due to undefined variable 'comp'

Reported 2014-07-17 10:09:00 +0200
Modified 2019-08-10 12:29:36 +0200
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: Macintosh
Operating System: Mac OS
Importance: P5 normal
Assigned to: Eelke Spaak
Depends on:
See also:

Tzvetan Popov - 2014-07-17 10:09:21 +0200

Call to ft_topoplotTFR chrashes with an error on line 189 where ft_prepare_layout is called with an input argument 'comp'. Yet this isn't defined neither withing the function nor as an input to ft_topoplotTFR. Possible fix: input argument should be varargin{:} ?

Eelke Spaak - 2014-07-17 10:38:40 +0200

Yep, you're totally right, that small bug was introduced in rev 9736 ( Should be fixed now (in 15 mins on /home/common/) bash-4.1$ svn commit ft_topoplotTFR.m Sending ft_topoplotTFR.m Transmitting file data . Committed revision 9739.

Robert Oostenveld - 2019-08-10 12:29:36 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on