Data type Mismatch is shown because a bus creator is expecting a boolean data type rather than the enumerated data type.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Data type Mismatch is showing. One of the outport which is coming from a bus creator is expecting a signal of data type 'boolean'. However it is drive by a sinal of enumerated data type.
0 commentaires
Réponses (1)
Fangjun Jiang
le 21 Août 2025
Modifié(e) : Fangjun Jiang
le 21 Août 2025
The easiest solution is to add a Datatype Conversion block. A better solution might be to check the property of that "outport" block. Its datatype might be specified incorrectly. There is also a possibility that the signal connection is incorrect.
0 commentaires
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!