error in generating the HDL code from the matlab code
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sharad
el 12 de Oct. de 2013
Respondida: Tim McBrayer
el 14 de Oct. de 2013
Hi ..
i am generating HDL code of matlab code for generation of chirp siganl
The matlab code and matlab function is attached.
and the error snap is
.Found unsupported dynamic matrix type at output port: 0 Use help codegen for more information on using this command.
0 comentarios
Respuesta aceptada
Tim McBrayer
el 14 de Oct. de 2013
As the error message states, you can't use dynamic typed data for HDL code generation. Each data variable needs to have a specific size and type, and remain unchanged for the entirety of your code. Otherwise, there's no clear way to decide what hardware to generate for it.
In your example, the size of tt in ch.m is dependent upon the incoming data fsamp.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!