how to detect datatype inconsistency between Signal datatype and initial value datatype.

how to detect datatype inconsistency between Signal datatype and initial value datatype during simulation.
e.g Signal datatype on the model boolean IC: given as 0(i.e. double) simulation pass but ert code generation fails
Error during code generation: /bo_OlsDm1Counter</a>' is being cast from data type 'single' to the data type 'boolean'. Downcasts and signed/unsigned mismatches of tunable parameter expressions are not allowed in order to ensure consistent behavior between simulation and generated code

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2018년 8월 1일

댓글:

TAB
2018년 8월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by