Error while generating HDL code from Matlab: Invalid data type. H must be double.
이전 댓글 표시
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.
채택된 답변
추가 답변 (1개)
Kiran Kintali
2022년 2월 2일
0 개 추천
Can you share your design.m, testbench.m files and the project file with necessary settings? Thanks
카테고리
도움말 센터 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!