主要内容

Supported MATLAB Functions and Data Types

R2026b
MATLAB® language syntax and functions for HDL code generation

HDL Coder supports various MATLAB functions and language syntax supported for HDL code generation are available from this page. If your MATLAB algorithm uses an unsupported function, you can generate code by replacing the function with a lookup table approximation. See Replace a Function with a Lookup Table from the Command Line.

Functions

expand all

hdl.treesumSum of array elements using tree architecture (Since R2022a)
hdl.treeprodProduct of array elements using tree architecture (Since R2022a)
hdl.interpnFind interpolated value based on n-dimensional input data (Since R2024b)

Topics