I am trying to import a DICOM-RT file into CERR (the latest git version) installed on MATLAB (2019a). The problem is that when I upload the CT images with RT-PLAN and RT-STRUCTURE, it works fine but when I try to upload the RT-DOSE files (even if I use only one of them), I get this error:
Undefined function or variable 'numBeams'.
Error in populate_planC_dose_field (line 118)
if numBeams > 0
Error in populate_planC_field (line 274)
populate_planC_dose_field(names{i}, ...
Error in dcmdir2planC (line 53)
cellData = populate_planC_field(cellNames{i}, dcmdir_PATIENT, optS);
Error in CERRImportDCM4CHE (line 137)
planC = dcmdir2planC(dcmdirS.(selected)); %wy
Error in CERR (line 168)
CERRImportDCM4CHE;
Error while evaluating UIControl Callback.
Any suggestion would be appreciated.