Main Content

Hardware Modeling with MATLAB Code

MATLAB® design and test bench guidelines for High-Level Synthesis code generation

You can write MATLAB code to model state machines and implement hardware elements such as counters and RAM for High-Level Synthesis (HLS) code generation. When authoring the code, follow for loop best practices and guidelines to write efficient MATLAB code to generate HLS code.