|
str{k}=strrep(str{k},strcat(Dir,'\T1_to_SC\TransformParameters.0.txt'),dir_Rorden); |
When copying the registration parameters to the to_MNI folder, there can be an error in rewriting the InitialTransformParametersFileName. In some cases, this is stored in the txt file as "\T1_to_SC/TransformParameters.0.txt". The strrep function will not properly replace the filenames, because of the mismatching slash / backslash.
RegLSM/RegLSM/test_FLAIR_T1.m
Line 248 in 1d7fe3a
When copying the registration parameters to the to_MNI folder, there can be an error in rewriting the InitialTransformParametersFileName. In some cases, this is stored in the txt file as "\T1_to_SC/TransformParameters.0.txt". The strrep function will not properly replace the filenames, because of the mismatching slash / backslash.