Skip to content

Commit 2370d90

Browse files
authored
Merge pull request #761 from remocristoforetti/dev_topasBugFix_strjoin
remove strjoin from TOPAS engine
2 parents 625ef8c + 647ce01 commit 2370d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matRad/doseCalc/+DoseEngines/matRad_TopasMCEngine.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ function writeStfFields(obj,ct,stf,w,baseData)
20762076
fprintf(fileID,'s:Tf/ImageName/Function = "Step"\n');
20772077
% create time feature scorer and save with original rays and bixel names
20782078
imageName = ['sv:Tf/ImageName/Values = ',num2str(cutNumOfBixel),cell2mat(strcat(strcat(' "ray',strsplit(num2str([dataTOPAS.ray]))),strcat('_bixel',strsplit(num2str([dataTOPAS.bixel])),'"')))];
2079-
fprintf(fileID,'%s\n',strjoin(imageName));
2079+
fprintf(fileID,'%s\n',imageName);
20802080
fprintf(fileID,'dv:Tf/ImageName/Times = Tf/Beam/Spot/Times ms\n');
20812081
end
20822082
end

0 commit comments

Comments
 (0)