Skip to Main Content Skip to Search
Product Documentation

ssGetStateAbsTol - Get the absolute tolerance used by the variable-step solver for a specified state

Syntax

real_T ssGetStateAbsTol(SimStruct *S, int_T state)

Arguments

S

SimStruct representing an S-Function block.

state

Index of the state whose absolute tolerance is to be returned.

Returns

A real_T value for the absolute tolerance of the state referenced by the index state.

Description

Use to get the absolute tolerance for a particular state.

Languages

C, C++

Example

See the S-function sfun_atol.c used in sfcndemo_sfun_atol.mdl.

See Also

ssSetStateAbsTol, ssIsVariableStepSolver

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS