- The target hardware must support standard double-precision floating-point computations. You cannot generate code for single-precision or fixed-point computations.
Error while generating HDL code from Matlab: Invalid data type. H must be double.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yichuan Wang
am 2 Feb. 2022
Beantwortet: Kiran Kintali
am 2 Feb. 2022
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.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 2 Feb. 2022
There is no specialized version of quadprog() for the Fixed-Point toolbox. quadprog() is only implemented for cases where the first parameter is type double(). This is specifically documented.
0 Kommentare
Weitere Antworten (1)
Kiran Kintali
am 2 Feb. 2022
Can you share your design.m, testbench.m files and the project file with necessary settings? Thanks
0 Kommentare
Siehe auch
Kategorien
Mehr zu FPGA, ASIC, and SoC Development finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!