Dear Marko,
my guess is that SPM12 is accessing the spm_default.m file from SPM8
such that new fields are not found. You can check this by typing:
> which spm_defaults -all
The version of spm_defaults.m in SPM12 is:
$Id: spm_defaults.m 6221 2014-09-30 20:52:29Z guillaume $
If you want to change some defaults, have a look at the instructions in
the help section of that file (ie create a spm_my_defaults.m file).
SPM12 should be fine with MATLAB R2014b, please report any issue you
might still find. It's another story for SPM8 - some of the
compatibility changes made in SPM12 have been backported to SPM8 and a
new release will be made available soon. Those of you that want to try
it (eg MacOS Yosemite users that had to upgrade to R2014b) are welcome
to email me for a copy.
Best regards,
Guillaume.
On 29/10/14 10:45, Marko Wilke wrote:
> Dear All,
>
> experiencing the pain of the early adopter, I wanted to ask if anyone
> else has tried to run Matlab 2014b with spm12? When I try, I am getting
>
>
> SPM12: v6225 11:40:37 - 29/10/2014
> ========================================================================
> Initialising SPM : ..Failed to
> load C:\Util\spm12\config\cfg_mlbatch_appcfg.m
> Error using subsref
> Reference to non-existent field 'tbx'.
> In file "C:\Util\spm12\spm_get_defaults.m" (v6157), function
> "spm_get_defaults" at line 41.
> In file "C:\Util\spm12\config\spm_cfg.m" (v6157), function "spm_cfg" at
> line 82.
> In file "C:\Util\spm12\config\cfg_mlbatch_appcfg.m" (v4964), function
> "cfg_mlbatch_appcfg" at line 9.
> In file "C:\Util\spm12\matlabbatch\cfg_util.m" (v6134), function
> "local_initapps" at line 1442.
> In file "C:\Util\spm12\matlabbatch\cfg_util.m" (v6134), function
> "cfg_util" at line 737.
> In file "C:\Util\spm12\spm_jobman.m" (v6157), function "spm_jobman" at
> line 173.
> In file "C:\Util\spm12\spm.m" (v6196), function "spm" at line 335.
>
> .Error using subsref
> Reference to non-existent field 'monitor'.
>
> Error in spm_get_defaults (line 41)
> varargout{1} = subsref(defaults, subs);
>
> Error in spm (line 711)
> monitor = spm_get_defaults('ui.monitor');
>
> Error in spm (line 498)
> S0 = spm('WinSize','0',1);
>
> Error in spm (line 340)
> Fmenu = spm('CreateMenuWin','off'); fprintf('.');
>
>
> The same spm installation works just fine with 2014a. I tried following
> the error down to the root and gave up after a while. The only clue I
> thought I might have is that I am using a multi-monitor setup which may
> confuse spm in a way incompatible with the latest release...??? Any
> feedback is appreciated.
>
> Thanks,
> Marko
>
> PS: spm8 starts, albeit with a warning re: EraseMode property
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|