Dear Nicolas,
this is a limitation of the standalone version of SPM - everything has
to be compiled beforehand in order to run so third-party toolboxes
cannot be installed post hoc:
https://en.wikibooks.org/wiki/SPM/Standalone#Frequently_Asked_Questions
If standalone SPM becomes popular, we might consider also providing a
version containing compiled versions of the main contributed toolboxes
(provided they don't alter the behaviour of SPM core functionalities,
don't overshadow SPM functions or modify defaults, etc).
Best regards,
Guillaume.
On 16/07/15 12:08, VINUESA Nicolas wrote:
> Dear all,
>
> I've encountered myself facing a problem when using standalone version
> of SPM. The problem is that I don't know how to add a toolbox (in this
> case Lession Segmentation Toolbox - LST) and make it run correctly.
> What i've done is to unzip LST to SPM_HOME/spm12_mcr/spm12/toolbox
> (therefore I have SPM_HOME/spm12_mcr/spm12/toolbox/LST, as well as for
> example: SPM_HOME/spm12_mcr/spm12/toolbox/DARTEL, etc...) and then run
> the standalone version of spm (run_spm12.sh). What I get when clicking
> in LST (on toolboxes in the GUI) is the following error:
>
> # --------------------------------------------------
> ___ ____ __ __
> / __)( _ \( \/ )
> \__ \ )___/ ) ( Statistical Parametric Mapping
> (___/(__) (_/\/\_) SPM12 - http://www.fil.ion.ucl.ac.uk/spm/
>
>
> SPM12: v6225 13:04:09 - 16/07/2015
> ========================================================================
> Initialising SPM : ........Warning: Requested
> Font Size 1451 is too large. Defaulting to 10
> > In spm at 360
> In spm_standalone at 51
> done
>
> SPM present working directory:
> /home/abaci/tmp/LST
>
> ~ - SPM12: LST toolbox --------------------------------------------
>
> Toolbox directory prepended to MATLAB path:
> /usr/local/MATLAB/spm12/spm12_mcr/spm12/toolbox/LST
>
> ----------------------------------------- 13:04:22 - 16/07/2015
>
> ??? Error using ==> evalin
> Undefined function or variable 'spm_LST'.
>
> Error in ==> spm at 1002
>
>
>
> ??? Error while evaluating uicontrol Callback
>
> # --------------------------------------------------
>
> If instead I try running LST via a batch file, I get the following error:
>
> # --------------------------------------------------
>
> /usr/local/ABACI/xnat/pipeline/catalog/VBM/resource/runSpm/runSpm.sh
> batch LST_batch.m
> SPM12 (6225): /usr/local/MATLAB/spm12/spm12_mcr/spm12
> ___ ____ __ __
> / __)( _ \( \/ )
> \__ \ )___/ ) ( Statistical Parametric Mapping
> (___/(__) (_/\/\_) SPM12 - http://www.fil.ion.ucl.ac.uk/spm/
>
> Item tools: No field(s) named
> LST
> Execution failed: LST_batch.mBye for now...
>
> # --------------------------------------------------
>
> Any help on this issue will be greatly appreciated.
>
> Best,
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|