Back to the main page.

Bug 84 - keep is both a var and function name

Status CLOSED FIXED
Reported 2010-05-19 16:23:00 +0200
Modified 2011-01-26 15:38:31 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Saskia Haegens
URL:
Tags:
Depends on:
Blocks:
See also:

Saskia Haegens - 2010-05-19 16:23:41 +0200

??? At compilation, "keep" was determined to be a variable and this variable is uninitialized. "keep" is also a function name and previous versions of MATLAB would have called the function. However, MATLAB 7 forbids the use of the same name in the same context as both a function and a variable. Error in ==> ft_freqanalysis_mtmconvol at 288 if keep == 1 Error in ==> ft_freqanalysis at 98 [freq] = feval(sprintf('ft_freqanalysis_%s',lower(cfg.method)), cfg, data); ----------------- this var name is used in several freqanalysis and connectivityanalysis functions, but its also a function name in /public


Robert Oostenveld - 2011-01-26 15:37:11 +0100

I closed all bugs that were resolved prior and including 2011-01-25. All resolved bugs should have been discussed by now, therefore we don't want to see them again in the next meeting. Instead, in the next meeting we want to see the recent improvements and fixes.


Robert Oostenveld - 2011-01-26 15:38:31 +0100

I closed all bugs that were resolved prior and including 2011-01-25. All resolved bugs should have been discussed by now, therefore we don't want to see them again in the next meeting. Instead, in the next meeting we want to see the recent improvements and fixes.