Why is the Data Type Conversion ignored (from double to uint16)?

조회 수: 3 (최근 30일)
Tomaso Poggi
Tomaso Poggi 2019년 7월 1일
답변: Jonas 2019년 7월 1일
I have a Simulink model that employs a Data Type Conversion block to convert a double to a uint16.
Apparently the Data Type conversion is completely ignored during simulation.
I cannot figure out why this happens. I suppose that some model configuration parameter is causing this issue.
Find attached the model itself.

답변 (1개)

Jonas
Jonas 2019년 7월 1일
I cannot figure out just yet why the data type is overriden, but you can at least prevent it by setting 'Data type override' to 'off'.

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by