Check relational comparisons on floating-point signals
Identifies the relational blocks or operations that perform equality or inequality comparisons on floating-point signals.
Available with Simulink® Check™.
Results and Recommended Actions
|One or more relational operations used in the model perform equality or inequality comparisons on floating-point signals.|
For the identified blocks and expressions, do one of these:
|One ore more If blocks used in the model have
||Modify the expressions to avoid floating point equality and inequality comparisons in generated code.|
Capabilities and Limitations
Does not run on library models.
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
Allows exclusions of blocks and charts.
hisl_0016: Usage of equality and inequality comparisons on floating-point data types