Functionality Simulink Add-block

16 Ansichten (letzte 30 Tage)
Tjitze
Tjitze am 8 Dez. 2025
Kommentiert: Tjitze am 10 Dez. 2025

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Dez. 2025
Use convert blocks on the logical values to convert them to one of the int datatypes or to single or double precision.
  2 Kommentare
Paul
Paul am 8 Dez. 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 am 10 Dez. 2025
Dear Walter,
Thank you for reply, it works!
Tjitze

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by