![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227035/image.png)
Why is the Data Type Conversion ignored (from double to uint16)?
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (1 件)
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'.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227035/image.png)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で String についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!