Dear Yune,
There is a problem with your SPM12 installation. It usually has to do
with the way you installed the updates. The spm12.zip archive you
download from our website already contains the latest set of updates so
just unpack it somewhere and add that somewhere to the MATLAB path. If
you were to install some updates, see this:
https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_%28Intel%29#Preamble
Best regards,
Guillaume.
On 01/02/18 13:42, Yune Lee wrote:
> All --
>
> I just newly installed SPM12 on Matlab 2017b in Mac (os 10.13.3).
> I'm running into the following error (shown below) and wondering how to
> resolve this. Any help would be greatly appreciated.
> -Yune
>
> SPM12: v7219 08:33:36 - 01/02/2018
> ========================================================================
> Initialising SPM : ..Undefined
> function or variable 'cfg_branch'.
>
> Error in cfg_getfile>reg_filter (line 1185)
> dprms = {cfg_branch};
>
> Error in cfg_getfile (line 177)
> t = reg_filter(varargin{2:end});
>
> Error in spm_select (line 115)
> cfg_getfile('regfilter', 'mesh', {'\.gii$'});
>
> Error in spm_select (line 110)
> spm_select('regfilter');
>
> Error in spm_select (line 97)
> spm_select('init');
>
> Error in spm_jobman (line 173)
> spm_select('init');
>
> Error in spm (line 335)
> spm_jobman('initcfg'); fprintf('.');
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|