classdef (Hidden) AtomicSubsystemUtils
%AtomicSubsystemUtils implements utilities for ATS workflow
%
%   This is an undocumented class. Its methods and properties are likely to
%   change without warning from one release to the next.

%   Copyright 2022 The MathWorks, Inc.

    properties(Constant, Access = private)
        HiddenModelTag = 'XIL_ATS_TempModel';
    end

    methods(Static)
        function markUpTempModel(modelName)
            set_param(modelName, 'Tag', rtw.pil.AtomicSubsystemUtils.HiddenModelTag);
        end

        function result = isTempModelForATS(modelName)
            result = strcmp(get_param(modelName, 'Tag'), ...
                rtw.pil.AtomicSubsystemUtils.HiddenModelTag);
        end
    end
end
