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.

Antworten (1)

Kiran Kintali
Kiran Kintali am 22 Mär. 2021

1 Stimme

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 Kommentar

Himadri Debnath
Himadri Debnath am 22 Mär. 2021
Thanks for responding. I used to have MATLAB 2020a. Now I have installed MATLAB 2021a and removed the previous one

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Code Generation finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Mär. 2021

Kommentiert:

am 22 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by