Check usage of lookup table blocks
Check ID:
mathworks.hism.hisl_0033
Check for lookup table blocks that do not generate out-of-range checking code.
Description
This check verifies that the following blocks generate code to protect against inputs that fall outside the range of valid breakpoint values:
This check also verifies that Interpolation Using Prelookup blocks generate code to protect against inputs that fall outside the range of valid index values.
Available with Simulink® Check™.
Results and Recommended Actions
Condition | Recommended Action |
---|---|
The lookup table block does not generate out-of-range checking code. | Change the setting on the block dialog box so that out-of-range checking code is generated.
|
Capabilities and Limitations
Runs on library models.
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to
all
.Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
on
.Allows exclusions of blocks and charts.
Action Results
Clicking Modify verifies that lookup table blocks are set to generate out-of-range checking code.
See Also