Hi,
I'm trying to run the very handy spm5spike with SPM 12 in Matlab 2016 (had to change a few minor things like the output of spm_vol seems slightly different and the Matlab command finite() has been deprecated), but it fails with the error
-------
Output argument "nv" (and maybe others) not assigned during call to "spm5spike>normit".
Error in spm5spike (line 105)
Ndmean = normit(diff(Mean_result'),normflag);
---------
where
diff(Mean_result') = [ ]
I'm not sure exactly what this section of code is doing, aside from the comment:
% Added by Rik to stop normit failing when a slice has zero mean
% (eg due to movement out of field of view)
Has anyone else had this problem or any advice on how to get it to work?
Thanks very much in advance!
g
|