State flow fixed point conversion issue in range collection stage.

조회 수: 6 (최근 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