Back to the main page.

Bug 2812 - Error when running "ft_singleplotTFR"

Reported 2015-01-22 14:44:00 +0100
Modified 2015-01-27 13:09:13 +0100
Product: FieldTrip
Component: plotting
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P5 major
Assigned to: Eelke Spaak
Depends on:
See also:

- 2015-01-22 14:44:15 +0100

I get the following error when running the tutorial Preprocessing and analysis of spike and local field potential data. See error below Matlab version: R2014b Undefined function 'abs' for input arguments of type ''. Error in num2str (line 66) xmax = double(max(abs(widthCopy(:)))); Error in ft_singleplotTFR (line 495) dataname = num2str(gca); Error in fieldtrip_tut (line 86) ft_singleplotTFR(cfg, statSts)

Eelke Spaak - 2015-01-27 13:08:53 +0100

(In reply to m.e.lepperod from comment #0) Could you try updating to the latest FieldTrip version, and then checking whether the problem persists? We've made some changes to the code to support the new Graphics model introduced in Matlab 2014b, and from your report it seems you are still using an older version of FieldTrip.

Eelke Spaak - 2015-01-27 13:09:13 +0100

(See also bug 2461)