Functionality Simulink Add-block

 Risposta accettata

Walter Roberson
Walter Roberson il 8 Dic 2025

0 voti

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

2 Commenti

Paul
Paul il 8 Dic 2025
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 il 10 Dic 2025
Dear Walter,
Thank you for reply, it works!
Tjitze

Accedi per commentare.

Più risposte (0)

Prodotti

Release

R2015b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by