Dear Manuela,
It seems that the Anatomy toolbox that you have installed comes with its
own copy of an old version of an SPM function. Removing the toolbox from
your MATLAB path should resolve the issue:
rmpath('C:\Users\Staff PC\Documents\Toolbox_22c\Anatomy');
This issue should also have been fixed in the latest version of the
Anatomy toolbox, v3.0:
https://www.fz-juelich.de/inm/inm-7/EN/Resources/_doc/SPM%20Anatomy%20Toolbox_node.html
Best regards,
Guillaume.
On 03/09/2019 15:39, Manuela Sellitto wrote:
> Dear all,
>
> I'm running some scripts for SPM to preprocess my data and I'm
> constantly getting the following error:
>
> Error using spm_platform (line 137)
>
> Unknown Action string
>
> In file "C:\Users\Staff PC\Documents\Toolbox_22c\Anatomy\spm_platform.m"
> (v488), function "spm_platform" at line 137.
>
> In file "C:\Users\Staff PC\Documents\spm12\spm_file.m" (v6346), function
> "spm_file" at line 160.
>
> In file "C:\Users\Staff PC\Documents\spm12\spm_print.m" (v6894),
> function "spm_print" at line 106.
>
> In file "C:\Users\Staff PC\Documents\spm12\spm_coreg.m" (v6435),
> function "display_results" at line 377.
>
> In file "C:\Users\Staff PC\Documents\spm12\spm_coreg.m" (v6435),
> function "spm_coreg" at line 153.
>
> In file "C:\Users\Staff PC\Documents\spm12\config\spm_run_coreg.m"
> (v5956), function "spm_run_coreg" at line 22.
>
> The following modules did not run:
>
> Failed: Coregister: Estimate
>
> Few months ago these scripts (made for SPM12 already) worked fine on my
> old machine. Besides, I'm getting a similar error even when simply using
> the CHECKREG function to look at my data:
>
> Error using spm_platform (line 137)
>
> Unknown Action string
>
> Error in spm_check_registration (line 52)
>
> if spm_platform('desktop')
>
> Error while evaluating UIControl Callback
>
> Would you recommend to reinstall SPM? I've been reluctant to do so as
> other old scripts (for first level analysis, for instance) keep working
> fine.
> Many thanks in advance for any advice!
> Manuela
>
> --
> ____________________________________________________
> Manuela Sellitto, PhD
> Comparative Psychology
> Institute of Experimental Psychology
> Heinrich-Heine University Düsseldorf
> Universitätsstraße 1
> 40225 Düsseldorf
> Germany
>
> Building: 23.02
> Floor.Room: 00.82
> Phone +49-211-81-12360
> Fax +49-211-81-11629 (shared)
> E-mail: [log in to unmask] <mailto:[log in to unmask]>
>
>
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|