Back to the main page.
Bug 2488 - issubfield not available from ft_defaults
Status | CLOSED FIXED |
Reported | 2014-03-03 15:14:00 +0100 |
Modified | 2014-03-12 12:19:38 +0100 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | All |
Operating System: | All |
Importance: | P5 normal |
Assigned to: | Jörn M. Horschig |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Guillaume - 2014-03-03 15:14:52 +0100
When initialising FieldTrip, the 'utilities' folder is not yet in MATLAB path so 'issubfield' cannot be found when returning a warning. >> addpath /home/foo/spm >> addpath /home/foo/another_spm >> addpath /home/foo/fieldtrip >> ft_defaults Undefined function 'issubfield' for input arguments of type 'double'. Error in warning_once>fieldnameFromStack (line 195) if ~issubfield(ft_previous_warnings, fixname(stack(end).name)) Error in warning_once (line 123) [tmpfname ft_default.warning.identifier line] = fieldnameFromStack(ft_default.warning.identifier); Error in ft_defaults>checkMultipleToolbox (line 219) [ws, warned] = warning_once(sprintf('Multiple versions of %s on your path will confuse FieldTrip', toolbox)); Error in ft_defaults (line 84) checkMultipleToolbox('spm', 'spm.m');