メインコンテンツ

Code Generation from MATLAB Algorithms

R2026b
Generate HDL code from MATLAB® algorithms

Implement your MATLAB algorithm in hardware by generating HDL code and deploying that code on an Application-Specific Integrated Circuit (ASIC) or Field Programmable Gate Array (FPGA). Write the MATLAB algorithm with syntax and functions that are compatible with HDL code generation. If the algorithm uses floating-point data, HDL Coder™ helps you to convert it to a fixed-point algorithm. Apply optimizations to generate more hardware-efficient HDL code. After you generate HDL code and verify that it matches your original algorithm, deploy the HDL code on your target hardware.

Functions

expand all

codegenGenerate HDL or High-Level Synthesis (HLS) code from MATLAB code
coder.configCreate HDL Coder code generation configuration objects
hdlcoder.CodingStandardCreate HDL coding standard customization object
hdlsetuptoolpathSet up system environment to access FPGA synthesis software

Objects

coder.HdlConfigHDL codegen configuration object

Tools

Workflow AdvisorGenerate synthesizable HDL code and test benches from MATLAB code

Topics

Featured Examples