Functionality Simulink Add-block

 Respuesta aceptada

Walter Roberson
Walter Roberson el 8 de Dic. de 2025

0 votos

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

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Versión

R2015b

Etiquetas

Preguntada:

el 8 de Dic. de 2025

Comentada:

el 10 de Dic. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by