Functionality Simulink Add-block

17 次查看(过去 30 天)

采纳的回答

Walter Roberson
Walter Roberson 2025-12-8
Use convert blocks on the logical values to convert them to one of the int datatypes or to single or double precision.
  2 个评论
Paul
Paul 2025-12-8
Or change the Output Data Type parameter in the Logial Operator blocks to an expression of the desired type, e.g., 'double' (note single quotes).
Tjitze
Tjitze 2025-12-10
Dear Walter,
Thank you for reply, it works!
Tjitze

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String 的更多信息

标签

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by