function buildName = getBuildName(h)
%getBuildName returns the model name, this function will be removed with g1963688

%   Copyright 2012-2019 The MathWorks, Inc.


% Use model name if not empty
if ~isempty(h.ModelName)
    buildName = h.ModelName;
else
    % Default if the buildName is not set
    buildName = 'unknown';
end
    
