![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1494527/image.jpeg)
Is there a situation where there are too many logical modules that cannot fully cover MCDC?
조회 수: 2 (최근 30일)
이전 댓글 표시
Each AND has three identical inputs, and controlling one input separately affects the output, but I can only cover the MCDC of one AND; Some==Operators can override conditions, while others cannot, but their inputs are the same. May I ask why?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1494497/image.jpeg)
댓글 수: 3
Atsushi Ueno
2023년 9월 28일
편집: Atsushi Ueno
2023년 9월 28일
> Is the Multiport Switch you demonstrated also not working?
No, it does not. Because the input of the Multiport Switch is fixed to 1. Any coverage is not measured unless the path leads to the output of the model.
> Is there any other way?
In case of Multiport Switch I demonstrated,
- Change Constant value to 1 ("Constant" is the first input of the Multiport Switch)
- Input all combinations to the topmost AND block
- Change Constant value to 2
- Input all combinations to the second AND block
- Change Constant value to 3
- Input all combinations to the third AND block
- ...
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Verification, Validation, and Test에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!