>> which spm_select -all
which cfg_getfile -all
spm_check_installation full
E:\SPM\spm12\spm_select.m
E:\SPM\spm8\spm_select.m % Shadowed
E:\SPM\spm8\matlabbatch\cfg_getfile.m
___ ____ __ __
/ __)( _ \( \/ )
\__ \ )___/ ) ( Statistical Parametric Mapping
SPM seems to appear in several different folders:
* E:\SPM\spm12\spm.m
* E:\SPM\spm8\spm.m
Remove all but one with 'pathtool' or 'spm_rmpath'.
??? Undefined function or method 'cfg_getfile' for input arguments of type 'char'.
Error in ==> spm_select at 147
[t, sts] = cfg_getfile(varargin{:});
Error in ==> spm_platform>init_platform at 228
driveLett = spm_select('ListDrives');
Error in ==> spm_platform at 61
if isempty(PLATFORM), PLATFORM = init_platform; end
Error in ==> spm_Welcome at 22
PF = spm_platform('fonts');
Error in ==> spm at 299
spm_Welcome;
>> which spm_select -all
which cfg_getfile -all
spm_check_installation full
E:\SPM\spm12\spm_select.m
'cfg_getfile' not found.
___ ____ __ __
/ __)( _ \( \/ )
\__ \ )___/ ) ( Statistical Parametric Mapping
SPM is installed in: E:\SPM\spm12
SPM version is SPM12 (6225, 01 Oct 2014)
SPM toolboxes: none
MATLAB is installed in: C:\MATLAB\R2009a
MATLAB version is 7.8.0.347 (R2009a)
MATLAB toolboxes: signal (v6.11) images (v6.3) stats (v7.1)
Platform: PCWIN64 (maxsize=2.814750e+014)
OS: Microsoft Windows Vista Version 6.1 (Build 7601: Service Pack 1)
Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Java support: jvm awt swing desktop
Monitor(s): [1 1 1920 1200] (32bit)
OpenGL version: 4.2.0(Hardware)
OpenGL renderer: NVIDIA Corporation (GeForce GTX 650/PCIe/SSE2)
MEX extension: mexw64
----------------------------------------------------------------------
Parsing local installation... ...done
Downloading SPM information... ...done
Parsing SPM information... ...done
----------------------------------------------------------------------
No missing or unknown files
----------------------------------------------------------------------
No local change or out-of-date files
----------------------------------------------------------------------