function angleInDegrees = rad2deg(angleInRadians)
%MATLAB Code Generation Library Function

%   Copyright 2015 The MathWorks, Inc.
%#codegen

narginchk(1,1);
coder.internal.assert(isfloat(angleInRadians), ...
    'MATLAB:rad2deg:nonFloatInput');
c = coder.const(cast(180/pi,'like',real(angleInRadians)));
angleInDegrees = c*angleInRadians;
