coder.FixPtConfig Class
Namespace: coder
Floating-point to fixed-point conversion configuration object
Description
A coder.FixPtConfig
object contains the
configuration parameters that the HDL codegen
function requires to
convert floating-point MATLAB® code to fixed-point MATLAB code during HDL code generation. Use the -float2fixed
option
to pass this object to the codegen
function.
Creation
creates a
fixptcfg
= coder.config('fixpt')coder.FixPtConfig
object for floating-point to fixed-point
conversion.
Properties
Methods
Examples
Alternatives
You can also generate HDL code from MATLAB code using the HDL Workflow Advisor. For more information, see Basic HDL Code Generation and FPGA Synthesis from MATLAB.
Version History
Introduced in R2014b