Products & Services Solutions Academia Support User Community Company

Release 2008b Embedded MATLAB

This table summarizes what's new in R2008b:

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
Yes—Details labeled as Compatibility Considerations, below. See also SummarySearch bug reports for the products that support Embedded MATLAB:


Includes fixes

Printable Release Notes: PDF

Current documentation

New features and changes introduced in this release are:

Support for Fixed-Point Word Lengths Up to 128 Bits

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.

New eml.nullcopy Function for Declaring Uninitialized Variables

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.

New Embedded MATLAB Getting Started Tutorial

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.

Empty Fields in Structures No Longer Produce Errors

You can now define structures that have empty fields.

emlmex Uses Same Trigonometric Functions as MATLAB

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.

New Embedded MATLAB Runtime Library Functions

The Embedded MATLAB runtime library now provides the following new functions:

Fixed-Point Toolbox Functions

Matrix and Array Functions

String Functions

Improperly-Scaled Fixed-Point Relational Operators Now Match MATLAB Results

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.

Compatibility Consideration

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

emlmex Now Prevents Default fimath Mismatches for MEX Functions

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.

  


Recommended Products

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