Functionality Simulink Add-block
16 views (last 30 days)
Show older comments
Accepted Answer
Walter Roberson
on 8 Dec 2025 at 18:48
Use convert blocks on the logical values to convert them to one of the int datatypes or to single or double precision.
2 Comments
Paul
on 8 Dec 2025 at 22:46
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).
More Answers (0)
See Also
Categories
Find more on String in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!