ssLogFixptInstrumentation
Record information collected during simulation
Syntax
extern void ssLogFixptInstrumentation
(SimStruct *S,
double minValue,
double maxValue,
int countOverflows,
int countSaturations,
int countDivisionsByZero,
char *pStrName)
Arguments
SSimStruct representing an S-function block.
minValueMinimum output value that occurred during simulation.
maxValueMaximum output value that occurred during simulation.
countOverflowsNumber of overflows that occurred during simulation.
countSaturationsNumber of saturations that occurred during simulation.
countDivisionsByZeroNumber of divisions by zero that occurred during simulation.
*pStrNameThe string argument is currently unused.
Description
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.
Requirement
To use this function, you must include fixedpoint.h and
fixedpoint.c. For more information, see Structure of the S-Function.
Languages
C
Version History
Introduced in R2008b