Copies the SPM12 script from the scripts directory to a temporary file

spm12_script(script_name, outdir = tempdir())

Arguments

script_name

Name of the script filename without ".m" ext

outdir

Path to copy scripts and run

Value

Character vector of script paths

Examples

spm12_script(script_name = "Segment")
#> job #> "/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//Rtmp13birO/Segment_job.m" #> script #> "/var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//Rtmp13birO/Executable.m"