HDL Code Generation "unhandled type"
Show older comments
I am trying to work through some of the tutorials on HDL Coder. However, I get the following error when trying to generate the code for the Symmetric FIR Filter
unhandled type
Use help codegen for more information on using this command.
Error in Manager>wfa_generateCode at 535
What exactly is the error here and how do I fix it?
I am running MATLAB R2014b on Ubuntu 14.04.
Thanks In Advance
Alex
Answers (1)
Kiran Kintali
on 29 Dec 2014
you might have tried to generate code from the whole model. can you try this?
makehdl('sfir_fixed/symmetric_fir')
7 Comments
Alex Biddulph
on 29 Dec 2014
Edited: Alex Biddulph
on 29 Dec 2014
Tim McBrayer
on 5 Jan 2015
This is the error message you get when you haven't opened the model sfir_fixed. HDL Coder needs the model open and in memory before it can generate HDL code.
Alex Biddulph
on 6 Jan 2015
Tamer
on 31 Mar 2015
Hello There, I have the same problem as Alex explained it . did you solve this problem ?
Ganesh Gaonkar
on 31 Mar 2015
Hi Tamer, Are you trying to generate HDL code for 'sfir_fixed' Simulink model or trying MATLAB to HDL convertion workflow mentioned here ? Which error among the 2 above mentioned errors you are receiving at your end?
Shrivathsav Seshan
on 28 Aug 2017
Ganesh, I am receiving the error that Alex received in his original post. I am trying the example workflow for MATLAB code to HDL from the link you posted. What is your advice
Kiran Kintali
on 29 Aug 2017
the demo should work out of the box unless there are some install issues.
this is not an expected error. please contact technical support with reproduction steps.
Categories
Find more on Get Started with HDL Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!