Get the absolute tolerance used by the variable-step solver for a specified state
real_T ssGetStateAbsTol(SimStruct *S, int_T state)
SimStruct that represents an S-Function block.
Index of the state whose absolute tolerance is to be returned.
real_T value for the absolute tolerance of the state
referenced by the index
Use to get the absolute tolerance for a particular state.
Absolute tolerances are not allocated for fixed-step solvers. Therefore, you
should never invoke this macro until you have verified that the simulation is
using a variable-step solver, using
See the S-function
sfun_atol.c used in
Introduced before R2006a