function applyIdealizedSettings(this)
    % APPLYIDEALIZEDSETTINGS Changes the DTO/MMO/Run name settings on the model
    % to the shortcut selected for range collection
    
    % Copyright 2016-2018 The MathWorks, Inc.
    
    [refMdls, ~] = SimulinkFixedPoint.AutoscalerUtils.getMdlRefs(this.Model);
    shortcutManager = this.getShortcutManager;
    
    origDirty(1:length(refMdls)) = {''};
    for i = 1:length(refMdls)
        origDirty{i} = get_param(refMdls{i}, 'dirty');
    end
    
    shortcutManager.applyIdealizedShortcut;
    for i = 1:numel(refMdls)
        if strcmp(origDirty{i}, 'off')
            set_param(refMdls{i}, 'dirty','off')
        end
    end
    this.turnOnInstrumentationAndRestoreDirty;
    
end
