![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1467566/image.jpeg)
How to suppress warning for commented out subsystems?
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm getting warnings for subsystems which are commented out.
As far as I understood the Simulink.SuppressedDiagnostic object warnings can be suppressed only for specific blocks.
Is there a way to suppress warnings for all subsystems which are commented out together?
댓글 수: 0
답변 (1개)
YASSINE
2023년 8월 29일
You can configure the model from the Diagnostics pane. Choose 'Connectivity' and select the 'None' option for both 'unconnected block input ports' and 'unconnected block output ports'."![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1467566/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1467566/image.jpeg)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!