Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Contents

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

Was this topic helpful?