function hfi = eml_fi_checkforerror(val,T,F,isfimathlocal)
% MATLAB Code Generation private Library function helper for fi the fixed-point value constructor.

% Copyright 2002-2012 The MathWorks, Inc.

%#codegen
 
  
% This MATLAB Coder library function allows and can handle mxArray inputs
eml_allow_mx_inputs;  

eml_prefer_const(val);
eml_prefer_const(T);
eml_prefer_const(F);
eml_prefer_const(isfimathlocal);

hfi = eml_fimathislocal(eml_cast(val,T,F),isfimathlocal);
