Tips for Fixed-Point Modeling and Code Generation for Simulink 7 (R2008a)

Tips on fixed-point modeling and code generation for R2008a. Includes referenced model files.
3.2K Downloads
Updated 1 Sep 2016

View License

There are challenges to face when programming in fixed-point code manually. Similarly, care is required in automatically generating fixed-point code. The developer must pay attention to design tradeoffs, namely: accuracy, efficiency, ROM, RAM, execution time, and readability.
The MathWorks tools allow you to find and understand proven remedies to these difficulties, using the "General Solutions" in this white paper. But the heart of this document is the rich collection of Tips it provides. The tips are the result of the combined expertise of MathWorks developers and experienced customers. The systematic application of these tips will produce optimum code.

Note that this document is a major update to the previous two versions based on Simulink® 5, written by Siva Nadarajah, and Simulink 6, written by Vinod Reddy.

Cite As

Bill Chou (2024). Tips for Fixed-Point Modeling and Code Generation for Simulink 7 (R2008a) (https://www.mathworks.com/matlabcentral/fileexchange/19835-tips-for-fixed-point-modeling-and-code-generation-for-simulink-7-r2008a), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink Coder in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

fixpt_tips_R2008a/Models/

Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0