help > RE: Valid Contrast - error moving contrast Images
Feb 8, 2023  01:02 PM | Julius Steding - TU Dresden
RE: Valid Contrast - error moving contrast Images
Hi Becky,
if I understand your issue correctly, this should solve your problem:
Resolve the first line to

> if ~strcmp(spm('Ver'),'SPM8') && ~strncmpi(spm('Ver'),'SPM12',5)


see this message: https://www.nitrc.org/forum/message.php?...


Best, Julius

Originally posted by Becky Yang:
sorry I just saw the last same question with me and I am trying to use the new version of PPI contrast ,Thanks!


but still some wired about this version warning:
-------------------------------------

% if ~strcmp(spm('Ver'),'SPM8')
% disp('PROGRAM ABORTED:')
% disp(' You must use SPM8 to process your data; however, you can use SPM.mat files')
% disp(' generated with SPM2 or SPM5. In these cases, simply specify the option SPMver')
% disp(' in single qoutes followed by a comma and the version number.')
% disp(' ')
% disp('Make sure to add SPM8 to your MATLAB path before re-running.')
% return
% end

Best,
Becky

Threaded View

TitleAuthorDate
Becky Yang Feb 8, 2023
Becky Yang Feb 8, 2023
RE: Valid Contrast - error moving contrast Images
Julius Steding Feb 8, 2023
Becky Yang Feb 8, 2023