Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

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.

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

Introduced in R2008b

Was this topic helpful?