- Model GLM_fratwhicsf (1 out of 2) ... 27-Aug-2019 13:30:23 - Failed 'MA: calculate cvLME (automatic)'
Reference to non-existent field 'swd'.
In file "/home/remi-gau/Documents/SPM/spm12/toolbox/MACS/MA_cvLME_multi.m" (???), function "MA_cvLME_multi" at line 90.
In file "/home/remi-gau/Documents/SPM/spm12/toolbox/MACS/batch_MA_cvLME_auto.m" (???), function "run_module" at line 71.
Seems to come from the lines below in: MA_cvLME_multi.m
SPM.swd will only exist if the model has been estimated.
% Estimate model if necessary
%-------------------------------------------------------------------------%
if ~isfield(SPM.xVi,'V')
SPM_mat = strcat(SPM.swd,'/','SPM.mat');
MA_GLM_AR_only(SPM_mat); load(SPM_mat);
MA_cvLME_multi(SPM);
return
end;
I am getting the following error when running it:
Seems to come from the lines below in:
MA_cvLME_multi.m
SPM.swd will only exist if the model has been estimated.