function y = angle(x)
%MATLAB Code Generation Library Function

%   Copyright 2002-2014 The MathWorks, Inc.
%#codegen

eml_invariant(nargin > 0,'MATLAB:minrhs');
eml_invariant(isfloat(x),'Coder:toolbox:unsupportedClass',mfilename,class(x));
y = coder.internal.applyScalarFunction(mfilename,zeros('like',real(x)), ...
    @coder.internal.scalar.angle,x);

