function obj = d2cOptions(varargin)
%D2COPTIONS  Creates option set for the D2C command.
%
%   OPT = D2COPTIONS returns the default options for D2C. 
%
%   OPT = D2COPTIONS('Option1',Value1,'Option2',Value2,...) uses name/value
%   pairs to override the default values for 'Option1','Option2',...
%
%   The supported options are:
%
%   Method             Discretization method ('zoh', 'foh', 'tustin', or
%                      'matched'). The default is 'zoh'.
%
%   PrewarpFrequency   Prewarp frequency (for 'tustin' method only). 
%                      Specify this frequency in rad/TimeUnit relative to 
%                      the time units of the discrete-time system. The 
%                      default value is zero which corresponds to the 
%                      standard Tustin method.
%
%   Consistency        State consistency (for SS arrays only).
%                      In C2D of an array of state-space models, setting
%                      Consistency='on' ensures state consistency across
%                      the resulting array of continuous-time models.
%                      Default is 'off', which allows additional states 
%                      when encountering poles at z=0.
%
%   See also D2C.

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