Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

Version 2.1 (R2007b) Fixed-Point Toolbox Software

This table summarizes what's new in Version 2.1 (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.Bug Reports
Includes fixes
No

New features and changes introduced in this version are:

Support for Data Type Override

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

New Bitwise Operator Functions

Fixed-Point Toolbox software now provides the following functions:

Embedded MATLAB subset also supports these functions.

bitget Function Updated

The bitget function now behaves as follows:

For more information, see the bitget reference page.

Compatibility Consideration

In prior releases, this function returned a uint8. The function now returns a u1,0. To get a uint8, use the uint8 function on the bitget output.

abs Function Supports Complex Inputs

You can now use the abs function to compute the absolute value of a complex fi object.

For more information, see the abs reference page.

divide Function Updated

The divide function now obeys the DataTypeOverride settings of the fipref object.

For more information, see the divide reference page.

Compatibility Consideration

In prior releases, this function did not obey the DataTypeOverride settings of the fipref object. For example, if the input was fi ScaledDouble, but the input numerictype object was fi Fixed, the output was fi Fixed. The output is now fi ScaledDouble.

fi Constructor Applies Property/Value Pairs After Numeric Value

When you call the fi constructor with both a numeric value and one or more property/value pairs that change the numeric value of the fi object, the fi constructor applies the property/value pairs after it sets the numeric value of the fi object.

For more information, see the fi reference page.

Compatibility Consideration

In prior releases, the fi constructor applied the property/value pairs before it set the numeric value. For example, the following code used to produce a fi object with a value of 0:

a = fi(0,1,16,13,'hex','6488')

This code now produces a fi object with a value of pi.

  


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-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS