db_0127: MATLAB® commands in Stateflow
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.
Verification and Validation
Note: Code generation supports a limited subset of the MATLAB functions. For a complete list of the supported function, see the MathWorks® documentation.
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 (Simulink Verification and Validation).