| Stateflow® and Stateflow® Coder Release Notes | ![]() |
Known Software Limitations
This section describes known limitations in Version 6.1 (R14SP1).
Embedded MATLAB Function Block/Stateflow Dependencies
The new Embedded MATLAB Function block in the User Defined Functions library for Simulink is using the same underlying infrastructure as Stateflow for simulation (through code-generation), debugging, and integration with Real-Time Workshop. This dependency has the following ramifications:
sfun) apply equally to all Stateflow charts and Embedded MATLAB blocks in the model. For example, turning debugging on/off would globally affect the charts as well as Embedded MATLAB Function blocks.
| Note An Embedded MATLAB Function block transparently shares Stateflow infrastructure but does not require a Stateflow license. |
Fixed-Point Override Limitations
Stateflow implements the Simulink override of fixed-point numbers in Stateflow charts with the following exceptions:
RTW Code Generation Fails for Charts with no Output Data
In this release, RTW code generation sometimes fails when the model contains one or more Stateflow charts with no output data and one or more testpointed local data or states. The error message displayed in the MATLAB command window has the following signature.
Error: File: d:\R14\matlab\rtw\c\tlc\mw\capi.tlc Line: 359
Column: 44
Undefined identifier constString
Error: File: d:\R14\matlab\rtw\c\tlc\mw\capi.tlc Line: 359
Column: 62
The + operator only works on numeric arguments
The workaround for this problem is to create a dummy (unused) output data for the charts that have no output data.
This problem will be fixed in the next release.
| Upgrading from an Earlier Release | Stateflow 6.0 and Stateflow Coder 6.0 Release Notes | ![]() |
© 1994-2005 The MathWorks, Inc.