function mbint(a)
%MBINT   Must be integer.
%   The statement
%
%       mbint(x)
%
%   asserts that, at that point in the computation, the variable x 
%   has components which can be declared type "int" in the resulting
%   C program.  If this assertion is false, an error occurs; if this
%   assertion is true, the computation proceeds.
%
%   See also MBINTSCALAR, MBINTVECTOR, MBREAL, MBREALSCALAR,
%            MBREALVECTOR, MBSCALAR, MBVECTOR.

% $Revision: 1.8 $  $Date: 1998/12/17 19:07:23 $
% Copyright (c) 1984-1998 by The MathWorks, Inc.

if ~isempty(a) & (any(any(a ~= fix(a))) | any(any(imag(a))))
    error( 'Argument to mbint must be integer.' );
end
