Skip to content
Permalink
Browse files

Properly escape all paths.

  • Loading branch information...
hjkuijf committed Nov 28, 2018
1 parent 3180a88 commit 092a7e74579ab46f9e06bb575e143e1c9901e438
Showing with 1 addition and 1 deletion.
  1. +1 −1 RegLSM/test_CT.m
@@ -69,7 +69,7 @@

%% Writing elastix command for registration
fid = fopen(strcat(Dir,'\batch\elastix_CT_SC.bat'),'wt');
CMD_CT_Rorden = [Dir_code,'\Elastix\elastix.exe -f' blanks(1) SC blanks(1) '-m' blanks(1) '"' CT_histeq '"' blanks(1) reg_CT_Rorden blanks(1) '-out' blanks(1) '"' strcat(Dir,'\CT_to_SC') '"'];
CMD_CT_Rorden = ['"' Dir_code '\Elastix\elastix.exe' '"' ' -f' blanks(1) '"' SC '"' blanks(1) '-m' blanks(1) '"' CT_histeq '"' blanks(1) reg_CT_Rorden blanks(1) '-out' blanks(1) '"' strcat(Dir,'\CT_to_SC') '"'];
fprintf(fid, '%s\n', CMD_CT_Rorden);
fclose(fid);
winopen(strcat(Dir,'\batch\elastix_CT_SC.bat'));

0 comments on commit 092a7e7

Please sign in to comment.
You can’t perform that action at this time.