State flow fixed point conversion issue in range collection stage.

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 commentaires

Hi Abdul,
If you can please provide a reproduction model, and indicate what your System-Under-Design (SUD) was set to.
Thanks
Andy
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.
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.

Connectez-vous pour commenter.

Réponses (0)

Produits

Version

R2020a

Commenté :

le 19 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by