MATLAB Answers


how to install the SPM 12 into Matlab?

Asked by Catarina Gaglianone on 13 Dec 2018
Latest activity Edited by Ale804
on 5 Aug 2019
I have downloaded spm 12,(files from UCL) but I cant use it in matlab.
I dont know what to do and I have tried several times and no use. Could you please give me instructions on how to use SPM to carry out my analysis

  1 Comment

I found this helpful (you have to add ALL subfolders - which none fo the install guides mention..

Sign in to comment.


1 Answer

Answer by Akshay Khadse on 26 Dec 2018

I found the installation instructions on the following SPM Wiki Page:
You will need to follow these steps to get SPM working:
1) Unzip 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
However, please note that the SPM Wiki page has been marked as outdated. You might need to figure out some additional steps to get this working.


Sign in to comment.