Functionality Simulink Add-block

17 visualizzazioni (ultimi 30 giorni)
Tjitze
Tjitze il 8 Dic 2025
Commentato: Tjitze il 10 Dic 2025

Risposta accettata

Walter Roberson
Walter Roberson il 8 Dic 2025
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)

Tag

Prodotti


Release

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by