Function Reference
— Loadable Function: dasrt_options (opt, val)

When called with two arguments, this function allows you set options parameters for the function dasrt. Given one argument, dasrt_options returns the value of the corresponding option. If no arguments are supplied, the names of all the available options and their current values are displayed.

Options include

"absolute tolerance"
Absolute tolerance. May be either vector or scalar. If a vector, it must match the dimension of the state vector, and the relative tolerance must also be a vector of the same length.
"relative tolerance"
Relative tolerance. May be either vector or scalar. If a vector, it must match the dimension of the state vector, and the absolute tolerance must also be a vector of the same length.

The local error test applied at each integration step is

                abs (local error in x(i)) <= ...
                    rtol(i) * abs (Y(i)) + atol(i)

"initial step size"
Differential-algebraic problems may occasionally suffer from severe scaling difficulties on the first step. If you know a great deal about the scaling of your problem, you can help to alleviate this problem by specifying an initial stepsize.
"maximum order"
Restrict the maximum order of the solution method. This option must be between 1 and 5, inclusive.
"maximum step size"
Setting the maximum stepsize will avoid passing over very large regions.
"step limit"
Maximum number of integration steps to attempt on a single call to the underlying Fortran code.