how to install the SPM 12 into Matlab?
349 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (3 件)
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 件のコメント
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!