This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

db_0127: MATLAB commands in Stateflow

ID: Title

db_0127: MATLAB® commands in Stateflow

Priority

Mandatory

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

In Stateflow charts, do not use the .ml syntax.

Individual companies should decide on the use of MATLAB functions. If they are permitted, then MATLAB functions should only be accessed through the MATLAB function block.

Correct

Incorrect

Rationale

  • Verification and Validation

  • Code Generation

  • Simulation

Note

Code generation supports a limited subset of the MATLAB functions. For a complete list of the supported function, see the MathWorks® documentation.

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Stateflow > Check for MATLAB expressions in Stateflow charts

For check details, see Check for MATLAB expressions in Stateflow charts.

Introduced in R2010a