how to install the SPM 12 into Matlab?

141 vues (au cours des 30 derniers jours)
Catarina Gaglianone
Catarina Gaglianone le 13 Déc 2018
Commenté : Muhammad Ahabb le 25 Avr 2024
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
  2 commentaires
Ale804
Ale804 le 5 Août 2019
Modifié(e) : Ale804 le 5 Août 2019
I found this helpful (you have to add ALL subfolders - which none fo the install guides mention..
소연 이
소연 이 le 10 Nov 2020
you saved my life thanks

Connectez-vous pour commenter.

Réponses (3)

Lewis
Lewis le 9 Fév 2021
Modifié(e) : Lewis le 9 Fév 2021
If you are on windows and "right-click/Extract All...", then it creates a nested directory which means MATLAB doesn't recognise spm12. For example if you want spm to be in C:/Users/You/Documents/MATLAB, after extracting it you will end up with C:/Users/You/Documents/MATLAB/spm12/spm12/... . If you add the first spm to the path it won't work. You have to cut the spm12 sub-folder out into the parent path so that it looks like this: C:/Users/You/Documents/MATLAB/spm12/... . Or just add the spm12 sub-folder.
  2 commentaires
Farhia Shafira
Farhia Shafira le 17 Sep 2021
thank you!
Muhammad Ahabb
Muhammad Ahabb le 25 Avr 2024
thx!!!

Connectez-vous pour commenter.


Akshay Khadse
Akshay Khadse le 26 Déc 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 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
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.
  5 commentaires
Narin Deveci
Narin Deveci le 15 Nov 2020
I am having the same problem too :(
Thomas Rust
Thomas Rust le 29 Jan 2021
I am also having the same problem

Connectez-vous pour commenter.


Abdulrahman Alduraywish
Abdulrahman Alduraywish le 4 Fév 2021
  1 commentaire
Rik
Rik le 5 Fév 2021
Please replace the link by the actual instructions.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by