Main Content

jc_0794: Division in Simulink

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

When using division, implementation of the algorithm shall avoid division by zero.

Custom Parameter

Not Applicable

Rationale

Sub ID a:

  • Deviation from the rule can cause unintended operation and code generation results.

Model Advisor Check

Check for division by zero in Simulink (Simulink Check)

Last Changed

R2021a

See Also

Version History

Introduced in R2020a