Products & Services Solutions Academia Support User Community Company

Release 2009b Embedded MATLAB

This table summarizes what's new in R2009b:

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 Variable-Size Arrays and Matrices

The Embedded MATLAB subset now supports variable-size arrays and matrices with known upper bounds. With this feature, you can define inputs, outputs, and local variables in Embedded MATLAB functions to represent data that varies in size at runtime. You can use variable-size data in:

For more information, see Generating Code for Variable-Size Data in the Embedded MATLAB User's Guide.

New Options for Controlling Runtime Checks for Faster Performance

emlmex generates code that includes runtime checks and external calls. To reduce the size of the generated code, and potentially improve performance, you can use new C-MEX compilation options to control whether or not your generated code performs:

For more information, see Controlling Runtime Checks in the Embedded MATLAB User's Guide.

Ability to Ignore Selected Arguments on Function Calls

The Embedded MATLAB subset supports a new MATLAB operator, the tilde (~) character, which lets you specify unused outputs in a function call, or unused inputs in a function definition. Embedded MATLAB ignores inputs and outputs specified by the tilde (~) placeholder.

This new syntax can help you avoid confusion in your program code and unnecessary clutter in your workspace.

For more information, see Tilde — ~ in the MATLAB Programming Fundamentals documentation.

Support for Enumerated Data in switch Expressions

You can now use enumerated data as the control variable in switch statements in Embedded MATLAB functions.

For more information, see Control Flow Statements: if, switch, while in the Embedded MATLAB User's Guide.

New Runtime Stack for Embedded MATLAB Functions

New runtime stack to help you determine the source of runtime errors in your Embedded MATLAB functions. The runtime stack provides information about the function that generated the error and the sequence of function calls that led up to the execution of this function. For more information, see Debugging Runtime Errors in the Embedded MATLAB User's Guide.

New Embedded MATLAB Runtime Library Functions

The Embedded MATLAB runtime library now provides the following new functions. To view details of the Embedded MATLAB implementation of these functions, see Embedded MATLAB Function Library — Alphabetical List.

 Data Validation Functions

 Fixed-Point Toolbox Functions

 Matrix and Array Functions

 Nonlinear Numerical Methods

 Polynomial Functions

 Signal Processing Functions

 Special Values

 String Functions

 Structure Functions

Change in Case Sensitivity for false, inf, length, nan, and true

In R2009b, false, inf, length, nan, and true are now case sensitive to match MATLAB.

You must now use:

Compatibility Considerations

Embedded MATLAB functions that compiled successfully in previous releases will fail to compile with R2009b if they do not use the correct case for false, inf, length, nan, or true.

  


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