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!