function model = getTopModelFromFPT
    % GETTOPMODELFROMFPT Returns the top model currently opened in the FPT UI
    
    % Copyright 2016-2018 The MathWorks, Inc.
    
    model = '';
    
    fpt = fxptui.FixedPointTool.getExistingInstance;
    if ~isempty(fpt)
        model = fpt.getModel;
    end
    
end
