Tips for Fixed-Point Modeling and Code Generation for Simulink 7 (R2008a)
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Tips for Fixed-Point Modeling and Code Generation for Simulink 6
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.