function combineData(obj)%
%

%   Copyright 2010 The MathWorks, Inc.

    combinedData.DerivedDataInfo.InputPortInfo = obj.Data(1).InterfaceInfo.InputPortInfo;
    combinedData.DerivedDataInfo.OutputPortInfo = obj.Data(1).InterfaceInfo.OutputPortInfo;
    combinedData.DerivedDataInfo.SampleTimes = obj.Data(1).InterfaceInfo.SampleTimes;
    
    testCases = obj.Data(1).TestCases;
    for idx=2:length(obj.Data)
        testCases = [testCases obj.Data(idx).TestCases]; %#ok<AGROW>
    end
    
    combinedData.TestCases = testCases;
    
    obj.DataMerged = combinedData;
end