| Version 2.0 (R2007a) Fixed-Point Toolbox™ Software Release Notes | ![]() |
This table summarizes what's new in Version 2.0 (R2007a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related 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
Increased Support for Fixed-Point Toolbox™ Software Features in the Embedded MATLAB™ Subset
Embedded MATLAB™ Subset Enhanced to Support N-Dimensional Arrays and Function Handles
get Function Must be Declared Extrinsic in Embedded MATLAB™ Subset
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.
The following syntaxes have been added to the fi object:
a = fi(v,F)
a = fi(v,s,F)
a = fi(v,s,w,F)
a = fi(v,s,w,f,F)
a = fi(v,s,w,slope,bias,F)
a = fi(v,s,w,slopeadjustmentfactor,fixedexponent,bias,F)
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.
The following Fixed-Point Toolbox™ software features are now supported by the Embedded MATLAB subset:
Dot notation for getting the values of fimath properties
get function for fi and fimath objects
For a complete list of the Fixed-Point Toolbox features supported by the Embedded MATLAB subset, refer to Supported Functions and Limitations of Fixed-Point Embedded MATLAB™ Subset.
Embedded MATLAB subset now supports N-dimensional arrays and function handles.
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.
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 no longer supports & and | operators in if and while conditional statements.
In prior releases, these operators compiled without error, but their short-circuiting behavior was not implemented correctly. Substitute && and || operators instead.
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.
![]() | Version 2.1 (R2007b) Fixed-Point Toolbox™ Software | Version 1.5 (R2006b) Fixed-Point Toolbox™ Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |