Clear Filters
Clear Filters

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

6 views (last 30 days)
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.

Answers (1)

Vinayak
Vinayak on 29 Aug 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

Categories

Find more on Manage Products in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!