function obj = simsdOptions(varargin)
%SIMSDOPTIONS  Creates option set for the SIMSD command.
%
%
%   OPT = SIMSDOPTIONS returns the default options for IDPARAMETRIC/SIMSD.
%   The supported options are:
%   
%   InitialCondition    Handling of initial conditions for simulation.
%                 One of the following:
%                 'z': Zero initial conditions. Default.
%                  X0: A column vector of length equal to the order of the
%                      model. For use with multiexperiment data, use a
%                      matrix with Ne columns, where Ne = number of
%                      experiments. For state-space models (idss, idgrey)
%                      only.
%                  IO: A structure with fields 'Input' and 'Output', each
%                      containing a history of input and output variables
%                      before the start time of Data (time < Data.Tstart).
%                      In case of a time series model, 'Input' value is
%                      empty. The number of columns must always be equal to
%                      the number of input/output channels. For use with
%                      multiexperiment data, let IO be a struct array of Ne
%                      elements.
%           ICObject: An initialCondition object representing a free
%                     response model. For use with multiexperiment data,
%                     use a [1 Ne] array of objects, where Ne = number of
%                     data experiments.
%
%  X0Covariance   Covariance of initial states vector X0. Use for
%                 simulating state-space models (idss, idgrey) when initial
%                 conditions are specified as a numerical vector. Specify
%                 as a Nx-by-Nx positive definite matrix, where Nx = model
%                 order.  For simulation using multi-experiment data,
%                 specify as an Nx-by-Nx-by-Nexp array such that
%                 X0Covariance(:,:,kexp) specifies the covariance of
%                 initial states X0(:,kexp). Default: [] (implies no
%                 uncertainty in X0 value).
%
%   InputOffset   Input signal offset level. Specify as an Nu-element column
%                 vector, where Nu is the number of inputs. For simulation
%                 using multi-experiment data, specify as Nu-by-Ne matrix,
%                 where Ne is the number of experiments. The offset value
%                 InputOffset(i,j) is subtracted from the i:th input signal
%                 of the j:th experiment before it is used for simulation.
%                 Default is [] which implies no offsets. For simulation
%                 using time domain data only.
%
%   OutputOffset  Output signal offset. Similar arrangement as InputOffset
%                 for model output. The specified values are added to the
%                 response of the model.
%
%   AddNoise      Specify whether noise should be added to the response of
%                 the model (TRUE/FALSE). If TRUE, a different realization
%                 of the additive disturbance is added to each simulated
%                 response. Default is FALSE (no noise addition).
%
% See also IDPARAMETRIC/SIMSD, initialCondition, idParametric/rsample.

%   Author(s): Rajiv Singh
%   Copyright 2011-2020 The MathWorks, Inc.

try
   obj = initOptions(idoptions.sim('simsd'),varargin);
catch E
   throw(E);
end
