Functionality Simulink Add-block

 采纳的回答

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 个评论

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).
Dear Walter,
Thank you for reply, it works!
Tjitze

请先登录,再进行评论。

更多回答(0 个)

类别

产品

版本

R2015b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by