function params = getModelParams(~, mdlName)
%

%   Copyright 2005-2013 The MathWorks, Inc.

narginchk(2,2);
params = {};
currP = get_param(mdlName, 'HDLParams');
if ~isempty(currP)
    params = currP.getCurrentMdlProps;
end
