SPM/Installation on 64bit Windows

From Wikibooks, open books for an open world
< SPM
Jump to: navigation, search


Contents

[edit] Preamble

Installing SPM on Windows 64 bit (XP, Vista, 7) should be relatively straightforward. Common pitfalls can be found in the description of the 32bit Windows installation.

[edit] SPM8

[edit] Installation

  • Download spm8.zip and its updates spm8_updates_rxxxx.zip
  • Unzip spm8.zip in a folder of your choice, such as C:\spm\spm8) and unzip spm8_updates_rxxxx.zip on top of it so that newer files overwrite existing files.
  • Start MATLAB and add SPM into your path, either using File > Set Path > Add Folder... or typing
>> addpath C:\spm\spm8

in MATLAB's workspace.

  • Launch SPM by typing
>> spm

[edit] Compilation

Precompiled MEX files (*.mexw64) are provided with SPM8 and you shouldn't need to recompile them by yourself.

[edit] SPM5

[edit] Installation

  • Download spm5.zip.
  • Unzip spm5.zip in a folder of your choice, such as C:\spm\spm5).
  • Start MATLAB and add SPM into your path, either using File > Set Path > Add Folder... or typing
>> addpath C:\spm\spm5

in MATLAB's workspace.

  • Launch SPM by typing
>> spm

[edit] Compilation

Precompiled MEX files (*.mexw64) are provided with SPM5 and you shouldn't need to recompile them by yourself.

Another set of precompiled MEX files can be found here:

[edit] SPM2

To use SPM2 on 64 bit Windows, you need to install SPM2 and SPM2_x64_Patch.zip that can be found here:

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export