Dear Guillaume,
First of all, thanks for your quick reply.
What I'm trying right now (it's taking a lot of time) is to compile some
matlab .m file that uses LST and putting SPM as a resource (that's why
it is also compiling SPM). Do you think this would work?
If it doesn't, is there any way I could compile SPM myself (this time
including LST in its toolbox path)?
Best,
Le 16/07/15 14:08, Guillaume Flandin a écrit :
> 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,
>>
--
Nicolas VINUESA
Ingénieur d'études
--------------------------------------------------------------------------
Groupe d'Imagerie Neurofonctionnelle
UMR 5296 - CNRS CEA Université Bordeaux Segalen
Tél.: (+33) 05 57 57 10 10 - int.: 7 76 39
146 rue Léo Saignat - Case 71 - 33076 Bordeaux cedex
--------------------------------------------------------------------------
|