Skip to content

Commit 5832784

Browse files
committed
doc: added page on using the spm mcr
1 parent 2432071 commit 5832784

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

doc/users/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
mapnode_and_iterables
3434
model_specification
3535
saving_workflows
36-
36+
spmmcr
3737

3838

3939

doc/users/spmmcr.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.. _spmmcr:
2+
3+
====================================
4+
Using SPM with MATLAB Common Runtime
5+
====================================
6+
7+
In order to use the standalone MCR version of spm, you need to ensure that
8+
the following commands are executed at the beginning of your script:
9+
10+
.. testcode::
11+
12+
from nipype import spm
13+
matlab_cmd = '/path/to/run_spm8.sh /path/to/Compiler_Runtime/v713/ script'
14+
spm.SPMCommand.set_mlab_paths(matlab_cmd=matlab_cmd, use_mcr=True)
15+
16+
you can test by calling:
17+
18+
.. testcode::
19+
20+
spm.SPMCommand().version
21+
22+
Information about the MCR version of SPM8 can be found at:
23+
24+
http://en.wikibooks.org/wiki/SPM/Standalone

0 commit comments

Comments
 (0)