The 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 Replacing Functions Using Lookup Table Approximations.
Built-in MATLAB and toolbox functions supported for HDL code generation.
Supported data types, operators, and control flow statements for HDL code generation.
Describes how complex signals and operations in MATLAB code map to generated HDL code.
HDL Coder™ supports bit shift, bit rotate, bit slice operations that mimic HDL-specific operators without saturation and rounding logic.
MATLAB persistent variable and persistent array variable language support language support for HDL code generation.
Use the coder.load function to load constants from a MAT-file.
Guidelines for writing efficient MATLAB code and design requirements for efficient HDL code generation.
Best practices when using for loops in your MATLAB code for HDL code generation.