Floating-Point to Fixed-Point Conversion
You can convert floating-point algorithms in DSP System Toolbox™ to fixed-point using these tools:
- The - codegen(MATLAB Coder) or- fiaccel(Fixed-Point Designer) function for MATLAB® algorithms
- Fixed-Point Tool (Fixed-Point Designer) for Simulink® models 
These two features require the Fixed-Point Designer™ product.
For a list of DSP System Toolbox System objects that support floating-point to fixed-point conversion, see System Objects Supported for Automated Fixed-Point Conversion. For a list of blocks that support the Iterative Fixed-Point Conversion in Simulink (Fixed-Point Designer), see Simulink Blocks in DSP System Toolbox that Support Iterative Fixed-Point Conversion Workflow.
Topics
- System Objects Supported for Automated Fixed-Point ConversionUse the fiaccelfunction to automatically propose and apply data types for commonly used system objects.
- Simulink Blocks in DSP System Toolbox that Support Iterative Fixed-Point Conversion WorkflowThis sections lists the simulink blocks in DSP System Toolbox which support iterative fixed-point conversion workflow. 
- Specify Fixed-Point Attributes for BlocksTeaches you how to specify fixed-point attributes and parameters in software on both the block and system levels. 
- Convert Floating-Point Model to Fixed Point (Fixed-Point Designer)Use the Fixed-Point Tool to convert a floating-point model to fixed point. 
- Iterative Fixed-Point Conversion in Simulink (Fixed-Point Designer)Floating-point model conversion to fixed point using a guided workflow