Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

jc_0501: Format of entries in a State block

ID: Title

jc_0501: Format of entries in a State block

Priority

Recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

A new line should:

  • Start after the entry (en), during (du), and exit (ex) statements.

  • Start after the completion of an assignment statement ";".

Correct

Incorrect

Failed to start a new line after en, du, and ex.

Incorrect

Failed to start a new line after the completion of an assignment statement ";".

Rationale

Readability

Last Changed

V2.0

Model Advisor Check

By Task > Modeling Standards for MAAB > Stateflow > Check entry formatting in State blocks in Stateflow charts

For check details, see Check entry formatting in State blocks in Stateflow charts (Simulink Verification and Validation).

Introduced in R2010a

Was this topic helpful?