State flow fixed point conversion issue in range collection stage.

2 visualizzazioni (ultimi 30 giorni)
I am using iterative fixed point conversion on a simulink state flow model. When executing the "Collect Ranges" using double precision, the following error is given:
Ranges could not be collected for the model.
Caused by:
  • Error due to multiple causes.
  • In cg_cast_or_assert: Cast failed
If I rung "Collect Ranges" with using current settings option then fixed point tool is unable to propose data types for some data. The following error is given for these:
"The data type of this result is inherited. The Fixed-Point Tool cannot remove data type inheritance from all results. "
Please suggest a way forward to successfully convert the model to fixed point.
  3 Commenti
Abdul Samad
Abdul Samad il 3 Ago 2021
Dear Andy,
Thank you very much for getting in touch. Please find attached the reduced model. I have also attached a snapshot of the screen showing my System-Under-Design setting. Let me know if you require more details.
Abdul Samad
Abdul Samad il 19 Ago 2021
Dear Andy,
I am looking forward to hear from you regarding any solution to fixed point conversion issue as mentioned in this thread. Your support will be highly appreciated.

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by