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).
Excellent front to back description on how to use MatLab/Simulink tools for fixed point modeling and code generation.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.