ssSetAsyncTimerAttributes
declares that the Simulink block requires a timer
Syntax
ssSetAsyncTimerAttributes(SimStruct *S, double res)
Arguments
SSimStruct that represents an S-Function block.
resTimer resolution parameter in seconds.
Returns
None
Description
Use ssSetAsyncTimerAttributes to indicate that the block
requires a timer and set the resolution of the timer specified in the
Timer resolution parameter.
Examples
/* Setup Async Timer attributes */ ssSetAsyncTimerAttributes(S,mxGetPr(TICK_RES)[0]);
Languages
C, C++
See Also
Version History
Introduced before R2006a