function sldvData = updateRebuildModelRepresentationInfo(sldvData, testComp)
%

%   Copyright 2018-2021 The MathWorks, Inc.

    if ~sldvprivate('isReuseTranslationON', testComp.activeSettings)
        return;
    end

    if testComp.analysisInfo.useTranslationCache
        msgStr = getString(message('Sldv:RptGen:RebuildModelRepresentationCacheFrom'));        
    else
        msgStr = getString(message('Sldv:RptGen:RebuildModelRepresentationBuiltOn'));
    end

    sldvData.AnalysisInformation.ModelRepresentationInfo = [msgStr, ' ', testComp.compatTimestamp];
end

