Main Content

jc_0491: Reuse of Stateflow data

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions



Sub ID a

A variable shall not have multiple meanings (usages) in a single Stateflow® Chart (Stateflow).

Custom Parameter

Not Applicable

Example — Correct

Variable does not have multiple usages.

Example — Incorrect

Variables k and kk have multiple usages in the Stateflow Chart.


Sub ID a:

  • Variables can be misinterpreted when the variable name is different than the meaning of the numerical value that is assigned to the variable.


Model Advisor check: Adherence to this modeling guideline cannot be verified by using a Model Advisor check.

Last Changed


See Also

Version History

Introduced in R2020a