Stateflow® and Stateflow® Coder Release Notes Previous page   Next Page

Stateflow Coder New Features

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;.


Previous page  Stateflow 4.1 and Stateflow Coder 4.1 Release Notes Major Bug Fixes Next page

© 1994-2005 The MathWorks, Inc.