codegen
R2026bGenerate HDL or High-Level Synthesis (HLS) code from MATLAB code
Syntax
Description
codegen -config
generates HDL code from MATLAB® code.hdlcfg matlab_design_name
codegen -config
converts floating-point MATLAB code to fixed-point code, then generates HDL
code.hdlcfg -float2fixed fixptcfg matlab_design_name
codegen -config
generates HLS code from MATLAB code.hlscfg matlab_design_name
codegen -config
converts floating-point MATLAB code to fixed-point code, then generates HLS
code.hlscfg -float2fixed fixptcfg matlab_design_name
Note
Use fixptcfg when you want to generate
HDL or HLS code from floating-point MATLAB code.