| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Embedded MATLAB |
| Contents | Index |
This table summarizes what's new in R2008b:
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
| Yes Details below | Yes—Details labeled as Compatibility Considerations, below. See also Summary | Search bug reports for the products that support Embedded MATLAB:
| Printable Release Notes: PDF |
New features and changes introduced in this release are:
The Embedded MATLAB subset now supports up to 128 bits of precision for accelerating fixed-point algorithm execution with the emlmex function and generating efficient code for targets with nonstandard word sizes.
The function eml.nullcopy allows you to declare the size, type, and complexity of a data variable without forcing unnecessary initialization of memory.
See eml.nullcopy in the Embedded MATLAB Function Reference and Declaring Uninitialized Variables in the Embedded MATLAB User's Guide.
This tutorial provides new users with hands-on experience to get them started quickly with the Embedded MATLAB subset and achieve the goal of generating efficient, embeddable C code from existing M-code. See Introduction to the Embedded MATLAB Subset in the Embedded MATLAB Getting Started documentation.
You can now define structures that have empty fields.
emlmex now uses the same library as MATLAB for implementing trigonometric operations during simulation. In previous releases, emlmex used the C compiler implementation of trigonometric functions, sometimes producing different results from MATLAB. Now, results are consistent with MATLAB and independent of compiler choice.
The Embedded MATLAB runtime library now provides the following new functions:
When evaluating relational operators, the Embedded MATLAB subset computes a common type that encompasses both input operands. In previous releases, if the common type required more than 32 bits, Embedded MATLAB functions and code generated by emlmex may have given different answers from MATLAB. Now, results are consistent.
Some relational operators generate multi-word code even if one of the fixed-point operands is not a multi-word value. To work around this issue, cast both operands to the same fixed-point type (using the same scaling method and properties).
MEX functions generated with emlmex use the default fimath value in effect at compile time. If you do not specify a default fimath value explicitly using the -F option, emlmex uses the MATLAB default fimath value. If your MEX function uses the MATLAB default fimath, emlmex generates an error if the compile-time value does not match the runtime value. See Specifying Default fimath Values for MEX Functions in the Embedded MATLAB documentation.
![]() | Release 2009a Embedded MATLAB | Release 2008a Embedded MATLAB | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |