Data type Mismatch is shown because a bus creator is expecting a boolean data type rather than the enumerated data type.
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Fangjun Jiang
2025-8-21
编辑:Fangjun Jiang
2025-8-21
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!