Structure Definition for HLS Code Generation - MATLAB & Simulink (original) (raw)
Main Content
To generate efficient standalone High-Level Synthesis (HLS) code for structures, you must define and use structures differently than you normally would when running your code in the MATLABĀ® environment:
Limitations
MATLAB to HLS code generation does not support:
- Define primary function inputs or outputs as an array of structures.
- Use of character arrays and strings in structures.
- Structures with cell arrays in fixed-point conversion.
- Variable-sized structure fields.
- Variable-sized array of structures.
- Structures defined in external files.