| Version 5.0 (R14) Simulink® Fixed Point™ Software Release Notes | ![]() |
This table summarizes what's new in Version 5.0 (R14):
| 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. | Yes Details | No |
New features and changes introduced in this version are
The Fixed-Point Blockset has been replaced by two new products, Fixed-Point Toolbox™ and Simulink Fixed Point. This product restructuring reflects the broad expansion of fixed-point capabilities in the MATLAB and Simulink software. The Fixed-Point Toolbox product introduces fixed-point operations to the MATLAB language, and the Simulink Fixed Point product enables fixed-point capabilities across much of the Simulink product family.
The Simulink Fixed Point software requires the Fixed-Point Toolbox software. If you are on maintenance, you will automatically receive both of these new products in place of the Fixed-Point Blockset software.
All former Fixed-Point Blockset blocks have been moved into the Simulink block libraries with this release. Each of these blocks, as well as all other Simulink blocks, can be used with or without the Simulink Fixed Point software installed. You can share models with any fixed-point and floating-point Simulink blocks among the users in your organization, whether or not they have the Simulink Fixed Point software installed. However, a Simulink Fixed Point software license is required to take full advantage of the fixed-point features of Simulink blocks. For more information, refer to Sharing Fixed-Point Models in the Simulink Fixed Point User's Guide.
The following table lists all of the blocks in the Fixed-Point Blockset software as of Release 13. It tells you the current name of the block in the Simulink software and the Simulink library in which you can find the block. Most blocks have the same name as in the last release; however, some block names have changed.
Former Fixed-Point Blockset Block | Former Fixed-Point Blockset Library | Simulink Block | Simulink Library |
|---|---|---|---|
Abs | Math | Math Operations | |
Accumulator | Calculus | Discrete | |
Accumulator Resettable | Calculus | Discrete | |
Accumulator Resettable Limited | Calculus | Discrete | |
Add | Math | Math Operations | |
Bit Clear | Bits | Logic and Bit Operations | |
Bit Set | Bits | Logic and Bit Operations | |
Bitwise Operator | Bits | Logic and Bit Operations | |
Compare To Constant | Logic & Comparison | Logic and Bit Operations | |
Compare To Zero | Logic & Comparison | Logic and Bit Operations | |
Constant | Sources | Sources | |
Conversion | Data Type | Signal Attributes | |
Conversion Inherited | Data Type | Signal Attributes | |
Cosine | Lookup | Lookup Tables | |
Counter Free | Sources | Sources | |
Counter Limited | Sources | Sources | |
Data Type Duplicate | Data Type | Signal Attributes | |
Data Type Propagation | Data Type | Signal Attributes | |
Dead Zone | Nonlinear | Discontinuities | |
Dead Zone Dynamic | Nonlinear | Discontinuities | |
Decrement Real World | Math | Additional Math & Discrete / Additional Math: Increment - Decrement | |
Decrement Stored Integer | Math | Additional Math & Discrete / Additional Math: Increment - Decrement | |
Decrement Time To Zero | Math | Additional Math & Discrete / Additional Math: Increment - Decrement | |
Decrement To Zero | Math | Additional Math & Discrete / Additional Math: Increment - Decrement | |
Derivative | Calculus | Discrete | |
Detect Change | Edge Detect | Logic and Bit Operations | |
Detect Decrease | Edge Detect | Logic and Bit Operations | |
Detect Fall Negative | Edge Detect | Logic and Bit Operations | |
Detect Fall Nonpositive | Edge Detect | Logic and Bit Operations | |
Detect Increase | Edge Detect | Logic and Bit Operations | |
Detect Rise Nonnegative | Edge Detect | Logic and Bit Operations | |
Detect Rise Positive | Edge Detect | Logic and Bit Operations | |
Difference | Calculus | Discrete | |
Divide | Math | Math Operations | |
Dot Product | Math | Math Operations | |
Filter Direct Form I | Filters | This block is obsolete. | |
Filter Direct Form I Time Varying | Filters | This block is obsolete. | |
Filter Direct Form II | Filters | Additional Math & Discrete / Additional Discrete | |
Filter Direct Form II Time Varying | Filters | Additional Math & Discrete / Additional Discrete | |
Filter First Order | Filters | Discrete | |
Filter Lead or Lag | Filters | Discrete | |
Filter Real Zero | Filters | Discrete | |
FIR | Filters | Weighted Moving Average | Discrete |
Gain | Math | Math Operations | |
Gateway In | Data Type | Signal Attributes | |
Gateway In Inherited | Data Type | Signal Attributes | |
Gateway Out | Data Type | Signal Attributes | |
Increment Real World | Math | Additional Math & Discrete / Additional Math: Increment - Decrement | |
Increment Stored Integer | Math | Additional Math & Discrete / Additional Math: Increment - Decrement | |
Index Vector | Select | Signal Routing | |
Integer Delay | Delays & Holds | Discrete | |
Integrator Backward | Calculus | Discrete | |
Integrator Backward Resettable | Calculus | Discrete | |
Integrator Backward Resettable Limited | Calculus | Discrete | |
Integrator Forward | Calculus | Discrete | |
Integrator Forward Resettable | Calculus | Discrete | |
Integrator Forward Resettable Limited | Calculus | Discrete | |
Integrator Trapezoidal | Calculus | Discrete | |
Integrator Trapezoidal Resettable | Calculus | Discrete | |
Integrator Trapezoidal Resettable Limited | Calculus | Discrete | |
Interval Test | Logic & Comparison | Logic and Bit Operations | |
Interval Test Dynamic | Logic & Comparison | Logic and Bit Operations | |
Logical Operator | Logic & Comparison | Logic and Bit Operations | |
Lookup Table | Lookup | Lookup Tables | |
Lookup Table Dynamic | Lookup | Lookup Tables | |
Lookup Table (2-D) | Lookup | Lookup Tables | |
Matrix Gain | Math | Math Operations | |
MinMax | Math | Math Operations | |
MinMax Running Resettable | Math | Math Operations | |
Multiply | Math | Math Operations | |
Multiply Matrix | Math | Math Operations | |
Multi-Port Switch | Select | Signal Routing | |
Product | Math | Math Operations | |
Product of Elements | Math | Math Operations | |
Product of Elements Inverted | Math | Math Operations | |
Rate Limiter | Nonlinear | Discontinuities | |
Rate Limiter Dynamic | Nonlinear | Discontinuities | |
Relational Operator | Logic & Comparison | Logic and Bit Operations | |
Relay | Nonlinear | Discontinuities | |
Repeating Sequence Interpolated | Sources | Sources | |
Repeating Sequence Stair | Sources | Sources | |
Sample Rate Probe | Calculus | Signal Attributes | |
Sample Time Add | Calculus | Signal Attributes | |
Sample Time Divide | Calculus | Signal Attributes | |
Sample Time Multiply | Calculus | Signal Attributes | |
Sample Time Probe | Calculus | Signal Attributes | |
Sample Time Subtract | Calculus | Signal Attributes | |
Saturation | Nonlinear | Discontinuities | |
Saturation Dynamic | Nonlinear | Discontinuities | |
Scaling Strip | Data Type | Signal Attributes | |
Shift Arithmetic | Bits | Logic and Bit Operations | |
Sign | Nonlinear | Math Operations | |
Sine | Lookup | Lookup Tables | |
State-Space | Filters | Additional Math & Discrete / Additional Discrete | |
Subtract | Math | Math Operations | |
Sum | Math | Math Operations | |
Sum of Elements | Math | Math Operations | |
Sum of Elements Negated | Math | Math Operations | |
Switch | Select | Signal Routing | |
Tapped Delay | Delays & Holds | Discrete | |
Unary Minus | Math | Math Operations | |
Unit Delay | Delays & Holds | Discrete | |
Unit Delay Enabled | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay Enabled External IC | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay Enabled Resettable | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay Enabled Resettable External IC | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay External IC | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay Resettable | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay Resettable External IC | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay With Preview Enabled | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay With Preview Enabled Resettable | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay With Preview Enabled Resettable External RV | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay With Preview Resettable | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Unit Delay Preview Resettable External RV | Delays & Holds | Additional Math & Discrete / Additional Discrete | |
Wrap To Zero | Nonlinear | Discontinuities | |
Zero-Order Hold | Delays & Holds | Discrete |
You can now write your own Simulink C S-functions that directly handle fixed-point data types with a newly published API. For more information, refer to Writing Fixed-Point S-Functions in the Simulink Fixed Point User's Guide.
The Simulink Fixed Point software now includes Model Advisor checks to help you to configure your fixed-point models to achieve a more efficient design and optimize your generated code. To use the Model Advisor to check your fixed-point models:
Select Model Advisor from the Tools menu of the model you wish to analyze. The Model Advisor appears in the Documents window on the MATLAB desktop.
Click Select All to enable all Model Advisor checks. For fixed-point code generation, the most important check boxes to select are Identify questionable fixed-point operations, Identify blocks that generate expensive saturation and rounding code, and Check the Hardware Implementation.
Click Check Model. Any tips for improving the efficiency of your fixed-point model appear in the browser.
Code generation has been enhanced to generate bit-true fixed-point code that supports multiplication, division, and reciprocal for signal and parameters with non-zero bias. Previously, these cases lead to code generation errors. Code will now be generated for these cases, and that code will make efficient use of just C integer operations.
In prior releases, the size of the generated code for models that contained lookup tables with similar attributes was larger than necessary. Such lookup tables produced similar algorithms that appeared throughout the code multiple times. In this release, some common algorithms have been placed into functions which are called by the lookup tables. This enables the same code to be reused multiple times. The overall size of the generated code has been reduced through this enhancement.
The following former Fixed-Point Blockset functions are now installed with the Simulink software:
The functions fixpt_restore_links and fpupdate are obsolete.
These functions are no longer needed to update models.
This section summarizes the major bug fixes introduced in Version 5.0 of the Simulink Fixed Point software.
In prior releases, fixed-point multiplication could produce the wrong answer under certain simulation conditions. For this error to occur, one input had to have at least 33 bits and the other input at least 32 bits. The correct answer had to be negative, and some additional numerical criteria had to be met. This error could only occur in simulation; it never occurred in generated code. This error has been fully corrected for this release.
In the previous release, the Fixed-Point Settings interface was unusable if your system setup defined large default system fonts. When trying to open the dialog, an error would be reported and the dialog would not appear. The creation of the dialog has now been made robust to large fonts, and this problem is solved.
In a previous release, code generation would error out for the Lookup Table (2-D) block if the input data type had non-zero bias or non-one fractional slope, and the corresponding breakpoints were evenly spaced. This problem has been fixed.
![]() | Version 5.2 (R2006a) Simulink Fixed Point Software | Version 4.1 (R13SP1) Fixed-Point Blockset Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |