Error while generating HDL code from Matlab: Invalid data type. H must be double.
Mostrar comentarios más antiguos
While trying to generate Verilog file using HDL Coder, I got the following error in the Fixed-Point Conversion step.

And the Error Report is shown as below:

The source code is an MPC controller, which have been uploaded in the attachment. Kindly help me resolve the issue.
Thanks.
Respuesta aceptada
Más respuestas (1)
Kiran Kintali
el 2 de Feb. de 2022
0 votos
Can you share your design.m, testbench.m files and the project file with necessary settings? Thanks
Categorías
Más información sobre Code Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!