HDL Coder 'abs' : Double and complex data types not supported.
Afficher commentaires plus anciens
I'm using a simulink model to generate HDL code for simulation, with double values.
The error is clear, as "Double and complex data types" are not supported for HDL Code generation.
My question is, will this maybe be implemented in feature releases, or is there a fundamental issue that double values can't be supported for the function abs() for HDL code generation?
Réponses (1)
Kiran Kintali
le 21 Sep 2019
Modifié(e) : Kiran Kintali
le 21 Sep 2019
0 votes
This is currently a limitation on the Abs block.
In the interim, please try the 'hypot' function in Math function block in Simulink.
1 commentaire
Michael Felger
le 23 Sep 2019
Catégories
En savoir plus sur HDL Code Generation and Deployment dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!