Skip to content
Permalink
Browse files

Added planC input arg

  • Loading branch information...
adityaapte committed Sep 10, 2019
1 parent e72a7e0 commit bbe2ad4ba6f1324500134ae7e7e3e51de0d2cf23
Showing with 5 additions and 3 deletions.
  1. +5 −3 CERR_core/PlanAnalysis/DoseVolumeHistograms/exportDVH.m
@@ -1,5 +1,5 @@
function exportDVH(structNum,doseSet,Opt,cumuDiff,exportPath)
% exportDVH(structNum,doseSet,Opt,cumuDiff,exportPath)
function exportDVH(structNum,doseSet,Opt,cumuDiff,exportPath,planC)
% exportDVH(structNum,doseSet,Opt,cumuDiff,exportPath,planC)
%
% This function exports DVH to EXCEL.
%
@@ -70,7 +70,9 @@ function exportDVH(structNum,doseSet,Opt,cumuDiff,exportPath)
end

% exportPath = uigetdir( 'C:\','Select destination Directory for DVH export');
global planC
if ~exist('planC','var')
global planC
end
indexS = planC{end};
structureCell = planC{indexS.structures};
% optS = CERROptions;

0 comments on commit bbe2ad4

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