Main Content

jc_0511: Return values from a graphical function

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

The return value for graphical functions shall be set in one place only.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub ID a:

  • Modifications to the output name is limited to prevent the changes from being missed or overlooked.

Verification

Model Advisor check: Check return value assignments in Stateflow graphical functions (Simulink Check)

Last Changed

R2020a

See Also

Introduced in R2020a