function y = eml_feval(funstr, varargin)
% MATLAB Code Generation Library function.
%
% EML_FEVAL function evaluation
%

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

eml_invariant(eml_is_const(funstr), ...
    'fixed:coder:eml_FcnNameArgMustBeConst','eml_feval');

switch funstr
    case 'eml_lshift'
        y = eml_lshift(varargin{:});
    case 'eml_rshift'
        y = eml_rshift(varargin{:});
    case 'eml_rshift_logical'
        y = eml_rshift_logical(varargin{:});
    otherwise
        eml_invariant(false, ...
            'fixed:coder:eml_FcnNameArgUnsupported', ...
            'eml_feval', funstr);
end
