Functionality Simulink Add-block

16 vues (au cours des 30 derniers jours)
Tjitze
Tjitze le 8 Déc 2025 à 16:53
Commenté : Tjitze le 10 Déc 2025 à 20:46

Réponse acceptée

Walter Roberson
Walter Roberson le 8 Déc 2025 à 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 commentaires
Paul
Paul le 8 Déc 2025 à 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).
Tjitze
Tjitze le 10 Déc 2025 à 20:46
Dear Walter,
Thank you for reply, it works!
Tjitze

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by