Products & Services Solutions Academia Support User Community Company

Release 2007b Embedded MATLAB

This table summarizes what's new in R2007b:

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 Summary.Search bug reports for the products that support Embedded MATLAB:


Includes fixes

Printable Release Notes: PDF

Current product documentation

New features and changes introduced in this release are:

Support for Algorithms That Span Multiple M-Files

You can now generate embeddable code for external M-functions from Embedded MATLAB. This feature allows you to call external functions from multiple locations in an M-file or model and include these functions in the generated code. See Writing Reusable Code in the Embedded MATLAB documentation.

Compatibility Consideration

In previous releases, Embedded MATLAB did not compile external M-functions, but instead dispatched them to MATLAB for execution (after warning). Now, the default behavior is to compile and generate code for external M-functions called from Embedded MATLAB. If you do not want Embedded MATLAB to compile external M-functions, you must explicitly declare them to be extrinsic, as described in Calling MATLAB Functions in the Embedded MATLAB documentation.

Calling C Functions from Embedded MATLAB Now Supported

Previously, you could not call existing C code from Embedded MATLAB code. In R2007b, a new eml interface is provided to help you integrate existing C code with Embedded MATLAB code. For details, see Calling C Functions from the Embedded MATLAB Subset in the Embedded MATLAB documentation.

Support for Data Type Override

The Embedded MATLAB subset now supports data type override. This feature facilitates fixed-point design and enables a single source for fixed- and floating-point code generation. Requires Fixed-Point Toolbox.

Return Types of bitget and sign Functions Now Match MATLAB

The Embedded MATLAB subset has changed the return data types of the Fixed-Point Toolbox functions bitget and sign to match MATLAB, as follows:

Fixed-Point Toolbox FunctionNew Return TypeOld Return Type
bitgetfi with word length = 1uint8
signint8fi with word length = 8 and fraction length = 0

Compatibility Consideration

Embedded MATLAB functions that call bitget and sign may now produce different results than expected because of the new return types.

New Embedded MATLAB Runtime Library Functions

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

Array Operations

Fixed-Point Toolbox Bit-Wise Functions

  


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