Tips for Fixed-Point Modeling and Code Generation for Simulink 6
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 a version based on Simulink 5 written by Siva Nadarajah).
Cite As
Vinod Reddy (2024). Tips for Fixed-Point Modeling and Code Generation for Simulink 6 (https://www.mathworks.com/matlabcentral/fileexchange/7197-tips-for-fixed-point-modeling-and-code-generation-for-simulink-6), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Tips for Fixed-Point Modeling and Code Generation for Simulink 7 (R2008a)
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.