Hi all,
I am trying to automate the factorial design specification step in SPM8.
I have so far been successful (for the preparation steps New Segment, Smooth and similar) simply doing:
1) using the GUI with some random input file
2) saved the .m file from batch
3) modified the _job.m file so it receives input files from a metadata csv file and a suitable prefix (for example the modulated m* prefixed nifti files for the Smooth script)
4) run the script
However, for the factorial design specification there is some extra MATLAB code asked for in the saved .m batch file (not the _job.m one), to replace "MATLAB_CODE_TO_FILL_INPUT". What is the type of code asked for?
Cheers,
Oskar W
M.Sc. Eng.Phys
Lund University
|