function FixPtSimRanges = retrievefixptsimranges(model, resultsRun)
	%RETRIEVEFIXPTSIMRANGES show min/max/overflow logs from last simulation

	% Copyright 1994-2016 The MathWorks, Inc.

	if nargin == 1 
		resultsRun = get_param(model,'FPTRunName');
	end

	FixPtSimRangesOut = getsimrangesdata(model, resultsRun);

	FixPtSimRanges = cell(1,numel(FixPtSimRangesOut) );

	% remove fields that were not shown but used in FPT
	for i = 1:numel(FixPtSimRangesOut)
		FixPtSimRanges{i} = rmfield(FixPtSimRangesOut{i}, {'PathItem','ReplaceOutDataType','ReplacementOutDTName', 'isVisible'});
	end
end

% LocalWords:  FPT
