Dear Hannelore,
to compile your own version of SPM, you should use the
spm_make_standalone function (from the config subdirectory). This will
take care of the matlabbatch error you are observing at runtime.
Best regards,
Guillaume.
On 20/06/16 16:12, Hannelore Aerts wrote:
> Dear SPM experts,
>
>
> Similar to this post
> (https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=spm;a03ffb8f.1202)
> <https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=spm;a03ffb8f.1202>, I am
> trying to compile an spm batch script in order to run it on a high
> performance computer, but I'm running into some errors. The difference
> compared to the previous post is that I'm using spm12 with a new spm12
> toolbox. As a result, I think I can't use the precompiled batch scripts
> provided with the VBM toolbox, since then the new toolbox is not
> included in the compiled spm version.
>
>
> In particular, I'm using mcc (matlab 2013b) to compile my matlab batch,
> without major problems. However, if I then try to run the compiled
> version I get errors regarding the cfg_mlbatch_appcfg_master file (see
> below). I looked for this ..._master file, but I can't seem to find it
> anywhere (not even in the private folders), though I downloaded spm12
> (again) only last week.
>
>
> Undefined function or variable 'cfg_mlbatch_appcfg_master'.
> Error in cfg_util>local_initapps (line 1440)
> Error in cfg_util (line 743)
> Error in spm_jobman (line 189)
> Error in USwLesion_062016 (line 6)
> MATLAB:UndefinedFunction
>
>
>
> Does anyone know how I can fix this problem/where to find this master
> cfg file?
>
>
> Thank you!
>
>
> Best,
>
> Hannelore
>
>
>
> Hannelore Aerts
> Department of Data-Analysis
> Faculty of Psychology and Educational Sciences
> Ghent University
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|