Record information collected during simulation
extern void ssLogFixptInstrumentation (SimStruct *S, double minValue, double maxValue, int countOverflows, int countSaturations, int countDivisionsByZero, char *pStrName)
S
SimStruct representing an S-function block.
minValue
Minimum output value that occurred during simulation.
maxValue
Maximum output value that occurred during simulation.
countOverflows
Number of overflows that occurred during simulation.
countSaturations
Number of saturations that occurred during simulation.
countDivisionsByZero
Number of divisions by zero that occurred during simulation.
*pStrName
The string argument is currently unused.
ssLogFixptInstrumentation records information collected during a simulation, such as output maximum and minimum, any overflows, saturations, and divisions by zero that occurred. The Fixed-Point Tool displays this information after a simulation.
To use this function, you must include fixedpoint.h
and
fixedpoint.c
. For more information, see Structure of the S-Function.
C