function obj = connectOptions(varargin)
%CONNECTOPTIONS  Creates option set for the CONNECT function.
%
%   OPT = CONNECTOPTIONS returns the default options for CONNECT. 
%
%   OPT = CONNECTOPTIONS('Option1',Value1,'Option2',Value2,...) uses 
%   name/value pairs to override the default values for 'Option1',
%   'Option2',...
%
%   Available options include:
%
%   Simplify      Automatic elimination of unconnected states (default=true). 
%                 By default, CONNECT eliminates all states that do not 
%                 contribute to the I/O transfer from INPUTS to OUTPUTS
%                 (see help for CONNECT). Set this option to FALSE to retain 
%                 all states.
%
%   See also CONNECT.

%   Copyright 1984-2012 The MathWorks, Inc.
try
   obj = initOptions(ltioptions.connect,varargin);
catch E
   throw(E)
end
