Using a Batch Template and matlab script I'm creating many design matrices [model specification (design only)] to choose the one with the least correlation across regressors. The code works, i.e., the SPM.mat gets created with no errors. The problem is when I Review the SPM.mat I get this error:
??? Reference to non-existent field 'VY'.
Error in ==> spm_DesRep at 268
spm_DesRep('DesMtx',SPM.xX,...
??? Error while evaluating uicontrol Callback
That said, I can still actually review the Design orthogonality etc so the error doesn't seem to actually cause any problems. I have followed a similar procedure before, however, and did not see this error. I think the SPM.xY.VY field is used to store actual images/scans, which I don't think should be required for Design Only.
In the code I set, spm('defaults', 'fmri'). The error also occurs if I save the Batch and run it from inside the Batch GUI.
Has anyone came across this before, do you have any suggestions as to the cause of (solution to) this error, should I worry about it all?
Thanks
Scott
|