function profMdls = doGetProfileModels()
%

%   Copyright 2023 The MathWorks, Inc.

profMdls = [];
profs = systemcomposer.internal.profile.Profile.getProfilesInCatalog();
for prof = profs
    if strcmp(prof.getName, 'systemcomposer') || ... % Skip base profile
            (isa(prof, 'sl.data.annotation.profile.DataProfile')) % (MR) skip data profiles. Will refactor this
        continue;
    end
    if prof.isMathWorksProfile && ~pe.toolstrip.showMathWorksProfiles()
        continue;
    end
    model = mf.zero.getModel(prof);
    profMdls = cat(1, profMdls, model);
end
end
