Functionality Simulink Add-block

 採用された回答

Walter Roberson
Walter Roberson 2025 年 12 月 8 日

0 投票

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 件)

カテゴリ

製品

リリース

R2015b

タグ

質問済み:

2025 年 12 月 8 日

コメント済み:

2025 年 12 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by