function eml_fi_checkforconst(varargin)
% EML_FI_CHECKFORCONST Private library function asserts that var2 to varN in fi(...) are constants

% Copyright 2005-2014 The MathWorks, Inc.
%#codegen
    
% This MATLAB Coder library function allows and can handle mxArray inputs
eml_allow_mx_inputs;  
coder.extrinsic('num2str');
coder.internal.prefer_const(varargin);
for i = 1:numel(varargin)
    eml_invariant(eml_is_const(varargin{i}),... 
        'fixed:coder:fiInputArgMustBeConstant', num2str(i+1));
end
