User`s guide

31 Stateflow Coder 4.1 Release Notes
31-2
New Features
This section introduces the new features and enhancements added in Stateflow
Coder 4.1 since the online release of Stateflow Coder 4.0.2 (Release 12).
Note For information on new features in Stateflow 4.1, see the Stateflow 4.1
Release Notes.
For information about the features of Stateflow and Stateflow Coder 4.1 added
in prior releases, including Stateflow and Stateflow Coder 4.0 (Release 12), see
the What's New link from the Stateflow product page on the MathWorks Web
site (
www.mathworks.com).
Single-Precision Constants in Code Generation
Code generation now emits single-precision constants with a trailing F to the
C-compiler. This results in lower ROM size. For example, the action language
statement
x = y + single(1.375); now generates the code x = y + 1.375F;.