Skip to Main Content Skip to Search
Product Documentation

Version 6.1 (R14SP1) Stateflow and Stateflow Coder Software

This table summarizes what's new in V6.1 (R14SP1):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known Problems
Yes
Details below
NoBug reports not available

New features and changes introduced in this version are described here:

Code Generation For Embedded Targets Fails for Charts with No Output Data

In this release, embedded code generation sometimes fails when the model contains one or more Stateflow charts with no output data, and one or more testpointed local data objects 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

To work around this problem, create a dummy (unused) output data object for the charts that have no output data.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS