function loadReferencedModels(this)
    % LOADREFERENCEDMODELS Loads all models active models referenced by the top
    % model on which FPT is open.
    
    % Copyright 2015-2018 The MathWorks, Inc.
    
    
    try
        % get all active model references
        [refMdls, ~, ~] = SimulinkFixedPoint.AutoscalerUtils.getMdlRefs(this.Model);
        load_system(refMdls);
    catch
        % do nothing
        return;
    end
    
end

