function varargout = imuitoolsgate(varargin)
%IMUITOOLSGATE Gateway routine to call private functions.
%   IMUITOOLSGATE is used to access private functions. 
%
%   [OUT1, OUT2,...] = IMUITOOLSGATE(FCN, VAR1, VAR2,...) calls FCN in
%   MATLABROOT/toolbox/images/images/private with input arguments
%   VAR1, VAR2,... and returns the output, OUT1, OUT2,....
 
%   Copyright 1993-2004 The MathWorks, Inc.
%   $Revision $  $Date: 2004/08/10 01:49:20 $

if nargin == 0
    errID = sprintf('Images:%s:invalidNumberOfInputs', mfilename);
    msg = sprintf('There must be a function name as the first input'); 
    error(errID,'%s',msg);
end

nout = nargout;
if nout==0,
   feval(varargin{:});
else
   [varargout{1:nout}] = feval(varargin{:});
end
