Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Tomaso Poggi
Tomaso Poggi am 1 Jul. 2019
Beantwortet: Jonas am 1 Jul. 2019
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.

Antworten (1)

Jonas
Jonas am 1 Jul. 2019
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'.

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by