Getting error while generating hdl code

I am getting an error while generatind hdl code. It says "Method 'pruneUnnecessaryNoHDLBlocks' is not defined for class 'slhdlcoder.SimulinkFrontEnd' or is removed from MATLAB's search path". I don't know why I am getting this. There are not much help on the internet. Please give me a solution.

回答 (1 件)

Kiran Kintali
Kiran Kintali 2021 年 3 月 22 日

1 投票

What version of MATLAB and HDL Coder are you currently using?
Can you share output of 'ver' command? I wonder if you have an bad installation issue.
Do you have test points in the model that you are generating HDL Code from?
Thanks

1 件のコメント

Himadri Debnath
Himadri Debnath 2021 年 3 月 22 日
Thanks for responding. I used to have MATLAB 2020a. Now I have installed MATLAB 2021a and removed the previous one

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeCode Generation についてさらに検索

質問済み:

2021 年 3 月 22 日

コメント済み:

2021 年 3 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by