any variable has the path where SPM(from UCL) installed?

7 vues (au cours des 30 derniers jours)
yjlee
yjlee le 17 Oct 2022
Réponse apportée : Vinayak le 29 Août 2023
I have to find out if there is proper variable, which contains the installation path of the SPM.
I had installed SPM (from UCL) in my computers.
I do many repeating works with "job" files, made from "Batch Editor".
I'm working at two PCs, writing files on same path on NAS.
because those two PC has different user-id... installation path should be different.
but, in the JOB file, I have to specify the files from SPM path...
one job file must be run from two computers.
so, if there is something like environment string variable for "SPM installation path"...
I can use it samely in the job file for diff two PCs.

Réponses (1)

Vinayak
Vinayak le 29 Août 2023
Hi,
You can find the installation instructions on the following SPM Wiki Page:
You will need to follow these steps to get SPM working:
1) Unzip spm12.zip in a folder of your choice, such as C:\Users\login\Documents\MATLAB\spm12).
2) Start MATLAB and add SPM into your path, either using File > Set Path > Add Folder... or typing the following in the MATLAB Command window:
>> addpath C:\Users\login\Documents\MATLAB\spm12
3) Launch SPM by using the command
>> spm
Thanks,
Vinayak

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by