how to install the SPM 12 into Matlab?

조회 수: 349 (최근 30일)
Catarina Gaglianone
Catarina Gaglianone 2018년 12월 13일
댓글: Muhammad Ahabb 2024년 4월 25일
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
Ale804
Ale804 2019년 8월 5일
편집: Ale804 2019년 8월 5일
I found this helpful (you have to add ALL subfolders - which none fo the install guides mention..
소연 이
소연 이 2020년 11월 10일
you saved my life thanks

댓글을 달려면 로그인하십시오.

답변 (3개)

Lewis
Lewis 2021년 2월 9일
편집: Lewis 2021년 2월 9일
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
Farhia Shafira
Farhia Shafira 2021년 9월 17일
thank you!
Muhammad Ahabb
Muhammad Ahabb 2024년 4월 25일
thx!!!

댓글을 달려면 로그인하십시오.


Akshay Khadse
Akshay Khadse 2018년 12월 26일
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
Narin Deveci
Narin Deveci 2020년 11월 15일
I am having the same problem too :(
Thomas Rust
Thomas Rust 2021년 1월 29일
I am also having the same problem

댓글을 달려면 로그인하십시오.


Abdulrahman Alduraywish
Abdulrahman Alduraywish 2021년 2월 4일
  댓글 수: 1
Rik
Rik 2021년 2월 5일
Please replace the link by the actual instructions.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by