function DataType = sfrac(WordLength,GuardBits)
%SFRAC Create an object describing a fixed-point type.
%
%    This function is obsolete. 
%
%    You can replace
%       SFRAC(WordLength,GuardBits)
%    with 
%       FIXDT(1,WordLength,(WordLength-1-GuardBits))
%
%    You can replace
%       SFRAC(WordLength)
%    with 
%       FIXDT(1,WordLength,(WordLength-1))
%
%    See also FIXDT.
 
% Copyright 1994-2012 The MathWorks, Inc.

if nargin < 2
  GuardBits = 0;
end

DataType = fixdt(1,WordLength,(WordLength-1-GuardBits));
