HDL workflow adivsor fails to generate model while using stateflow

33 visualizaciones (últimos 30 días)
Mohd
Mohd el 3 de Oct. de 2025 a las 7:13
Editada: BA el 8 de Oct. de 2025 a las 13:58
I am generating HDL model for speedgoat by using HDL workflow advisor. In the model, I am performing integration using forward euler method. While generating the model, I am getting error about floating-point data found. Any idea, how can i solve this issue.

Respuesta aceptada

BA
BA el 8 de Oct. de 2025 a las 13:57
Editada: BA el 8 de Oct. de 2025 a las 13:58
Hi Moh,
Using Stateflow charts with single or double precision for HDL code generation with Native Floating-Point (NFP) was not supported until release R2025a.
I used the model you provided and generated HDL code from it in R2025b.
Here is the release note for R2025a that gives you information about the new feature introduction:
Look under the heading: Code Generation and Verification: Native floating-point for Stateflow Charts

Más respuestas (0)

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by