DPARSF_run.m error at 551

Submitted by roberto on
Dear DPARSF experts,

whilie running DPARSF I  have encontered the following error reported in DPARSF_run.m:

Error using ==> copyfile

No matching files were found.

Error in ==> DPARSF_run at 551

copyfile('*.ps',['..',filesep,'RealignParameter',filesep]);

it seems that copyfile is looking for non existing *.ps files.
Any idea of what is wrong? in which step are the *.ps files generated?

Thanks in advance,
Roberto
 

YAN Chao-Gan

Sat, 08/21/2010 - 16:38

Hi!
There is a small problem with the latest update of SPM8. It will not create the *.ps file (for visual inspecting the realign and normalize effect) in some specific MATLAB version.
Currently, you can make this line as a comment by adding a % before this line, i.e.
from:
copyfile('*.ps',['..',filesep,'RealignParameter',filesep]);
to:
%copyfile('*.ps',['..',filesep,'RealignParameter',filesep]);

It has no influence on any result.

roberto

Sun, 08/22/2010 - 10:26

In reply to by YAN Chao-Gan

Hi Yan Chao-Gan,

Thank you so much for you answer.
I thought of commenting out these lines but I was not sure if the *ps files were going to be used later on.

Best regards,
Roberto

Forums