You may have to use a cell array as input for spm_realign, if you weren't. Or maybe a struct. I'm not sure which would produce the behavior you want.
________________________________________
From: SPM (Statistical Parametric Mapping) [[log in to unmask]] on behalf of Angela J [[log in to unmask]]
Sent: Thursday, November 07, 2013 5:07 PM
To: [log in to unmask]
Subject: [SPM] problem with movement parameters file
Dear SPMers,
I'm using the command spm_realign(image_files) but the rp_*.txt file it saves contains only one line with 6 columns, when in reality it should contain over a hundred lines. When I run the analysis via the GUI (also using the default arguments) it saves the rp_*.txt file with the correct number of lines. Does anyone know what might be causing this problem?
Thank you,
Angela
|