function setupxilinxtools(varargin)
% SETUPXILINXTOOLS  Configure MATLAB environment for use with Xilinx
%                   FPGA design automation.
%
%   SETUPXILINXTOOLS performs the following to ensure your environment is
%   set up correctly to use the Xilinx FPGA design automation features.
%   
%   * Checks that the XILINX system environment variable is defined and
%     points to a valid Xilinx ISE installation
%   * Checks if your platform and Xilinx ISE version are supported for 
%     FPGA design automation
%   * Adds to your MATLAB search path the necessary folder(s) to use the
%     Xilinx FPGA design automation features
%
%   SETUPXILINXTOOLS(ISEPATH) performs the same validations, but uses
%   ISEPATH to set the XILINX environment variable. If ISEPATH points to a
%   valid ISE installation, SETUPXILINXTOOLS(ISEPATH) also adds that ISE
%   installation on the system path.
%
%   All changes to system environment variables, system path, or MATLAB
%   search path using SETUPXILINXTOOLS(...) are performed for the current
%   MATLAB session only.
%

%   Copyright 2010 The MathWorks, Inc.

privsetupxilinxtools(varargin{:});
