Data type Mismatch is shown because a bus creator is expecting a boolean data type rather than the enumerated data type.

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.

답변 (1개)

Fangjun Jiang
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.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2025년 8월 21일

편집:

2025년 8월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by