Dear Jessica, dear Christian,
I've got the same error using the Analyze-ROI-Tool.
MRI files were not moved but the first subject in the MRI folder was not part of this certain VBM.
So the check in "cat_stat_analyze_ROIs.m" starting at line 107 failed:
% check whether first filename in SPM.mat and xml-file are from the same subject
ind = strfind(nam,tmp_name);
if isempty(ind)
spm('alert!',sprintf('Label file %s does not fit to analyzed file %s. Please check that you have not moved your data',tmp_name,nam),0);
roi_names = cellstr(spm_select(numel(P) ,'xml','Select xml files',{},'',pattern));
break
end
The program ran when I removed the first subject from the label-folder as a workaround. The second subject was in the analyzes and so this check was ok.
Hope this helps.
Best, Katharina
|