jc_0451: Use of unary minus on unsigned integers in Stateflow

ID: Title

jc_0451: Use of unary minus on unsigned integers in Stateflow

Priority

Recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

Do not perform unary minus on unsigned integers.

Correct

Incorrect

Rationale

  • Verification and Validation

  • Code Generation

Last Changed

V2.0

Model Advisor Check

By Task > Modeling Standards for MAAB > Stateflow > Check usage of unary minus operations in Stateflow charts

For check details, see Check usage of unary minus operations in Stateflow charts (Simulink Check).

Introduced in R2010a