Data Definition
Define data for HLS code generation
MATLAB® is a dynamically typed language. MATLAB variables can change their properties at run-time. The same variable can hold a value of any size or complexity. Control how data is represented, memory is allocated, and code is generated for function handles.
Topics
Complex Numbers
- Complex Data Type Support for High-Level Synthesis Code Generation
Describes how complex signals and operations in MATLAB code map to generated High-Level Synthesis (HLS) code. - MATLAB Language Features Supported for HLS Code Generation
You can generate HLS code from MATLAB code using the HDL Coder™ Workflow Advisor.
Function Handles
- Function Handle Limitations for Code Generation
Use function handles in MATLAB code intended for code generation.
Structures
- Structure Limitations for Code Generation
Adhere to code generation restrictions for structures.
Troubleshooting
Resolve Error: Variables Must Be Fully Defined Before Use
Troubleshoot code generation error when variables are not defined before use.