Main Content

na_0039: Limitation on Simulink functions in Chart blocks

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

Stateflow blocks shall not be used in Simulink Function blocks that are included in a Stateflow Chart (Stateflow).

Custom Parameter

Not Applicable

Example — Incorrect

Rationale

Sub ID a:

  • Readability decreases and can result in design errors.

Verification

Model Advisor check: Check use of Simulink in Stateflow charts (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a