Functionality Simulink Add-block

 Accepted Answer

Use convert blocks on the logical values to convert them to one of the int datatypes or to single or double precision.

2 Comments

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

Sign in to comment.

More Answers (0)

Products

Release

R2015b

Tags

Asked:

on 8 Dec 2025

Commented:

on 10 Dec 2025

Community Treasure Hunt

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

Start Hunting!