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
JMAAB guideline jc_0511, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Create Flow Charts in Stateflow (Stateflow)
Create Flow Charts by Using Pattern Wizard (Stateflow)
Version History
Introduced in R2020a