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

5 ビュー (過去 30 日間)
yjlee
yjlee 2022 年 10 月 17 日
回答済み: Vinayak 2023 年 8 月 29 日
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.

回答 (1 件)

Vinayak
Vinayak 2023 年 8 月 29 日
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

カテゴリ

Help Center および File ExchangeLicensing on Cloud Platforms についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by