How to add MATLAB design, testbench in HDL Coder Project programmatically ?

i was going through "Basic HDL code generation with the workflow advisor" ...(https://in.mathworks.com/help/hdlcoder/gs/basic-hdl-code-generation-with-the-workflow-advisor.html) Under the section "Create an HDL Coder Project" we can programmatically create HDL Coder project but nothing is mentioned how do we add the MATLAB design and Testbench programmatically ?
Can someone guide me through how do we do it programmatically .... Is there even a way of doing that programatically?

回答 (1 件)

akshatsood
akshatsood 2024 年 1 月 24 日
編集済み: akshatsood 2024 年 1 月 24 日

0 投票

Hi @Omkar,
Please go through the following documentation page to execute the HDL workflow through a script
For generating testbench, you can leverage "makehdltb" function which generates an HDL test bench from the specified subsystem or model reference.
Have a look at the following references for better understanding
I hope this helps.

製品

リリース

R2022b

質問済み:

2024 年 1 月 24 日

編集済み:

2024 年 1 月 24 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by