State flow fixed point conversion issue in range collection stage.

5 ビュー (過去 30 日間)
Abdul Samad
Abdul Samad 2021 年 8 月 2 日
コメント済み: Abdul Samad 2021 年 8 月 19 日
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 件のコメント
Abdul Samad
Abdul Samad 2021 年 8 月 3 日
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 2021 年 8 月 19 日
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.

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by