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

5 visualizaciones (últimos 30 días)
yjlee
yjlee el 17 de Oct. de 2022
Respondida: Vinayak el 29 de Ag. de 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.

Respuestas (1)

Vinayak
Vinayak el 29 de Ag. de 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

Categorías

Más información sobre Licensing on Cloud Platforms en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by