Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

Version 2.0 (R2007a) Fixed-Point Toolbox Software

This table summarizes what's new in Version 2.0 (R2007a):

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.Bug Reports
Includes fixes
No

New features and changes introduced in this version are

Fast Execution for Fixed-Point Algorithms in MATLAB

The new Embedded MATLAB MEX functionality converts M-code to C-MEX functions. These C-MEX functions contain Embedded MATLAB subset optimizations for automatically accelerating fixed-point algorithms to compiled C code speed in MATLAB. For more information, refer to Working with Embedded MATLAB MEX in the Embedded MATLAB subset documentation.

New fi Syntaxes that Have fimath as an Argument

The following syntaxes have been added to the fi object:

where v is value, s is signedness, w is word length, f is fraction length, and F is a fimath object. Refer to Working with fi Objects or the fi reference page for more information.

Increased Support for Fixed-Point Toolbox Software Features in the Embedded MATLAB Subset

The following Fixed-Point Toolbox software features are now supported by the Embedded MATLAB subset:

For a complete list of the Fixed-Point Toolbox features supported by the Embedded MATLAB subset, refer to Supported Functions and Limitations of the Fixed-Point Embedded MATLAB Subset.

Embedded MATLAB Subset Enhanced to Support N-Dimensional Arrays and Function Handles

Embedded MATLAB subset now supports N-dimensional arrays and function handles.

get Function Must be Declared Extrinsic in Embedded MATLAB Subset

There is a change to how you must use the get function in Embedded MATLAB subset to call properties of any object other than fi objects.

Compatibility Consideration

To get properties of non-fi objects in Embedded MATLAB subset, you must first declare get to be an extrinsic function. As of this release, if you do not do so, your code will error. For more information, refer to Calling MATLAB Functions in the Embedded MATLAB subset documentation.

Embedded MATLAB Subset Does Not Support & and | Operators

Embedded MATLAB subset no longer supports & and | operators in if and while conditional statements.

Compatibility Consideration

In prior releases, these operators compiled without error, but their short-circuiting behavior was not implemented correctly. Substitute && and || operators instead.

New Demo

The "Fixed-Point Lowpass Filtering Using Embedded MATLAB MEX" demo is new in this release. This demo steps you through generating a C-MEX function from M-code, running the generated C-MEX function, and displaying the results.

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS